From: Peng Li Date: Sun, 5 Mar 2017 13:21:31 +0000 (+0800) Subject: update update.pl X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;ds=inline;h=972d4b8fc6bc21b764000b9f1d2c2ba7b5a75889;p=blog.git update update.pl --- diff --git a/cgi-bin/update.pl b/cgi-bin/update.pl index ec288f8..d69f529 100755 --- a/cgi-bin/update.pl +++ b/cgi-bin/update.pl @@ -4,12 +4,15 @@ use strict; use CGI qw/:standard/; -print `cd .. && make update`; +my $out = `cd .. && make update 2>&1`; +my $ret = $?; print header; print start_html("Update"); print br; print "Hello world\n"; +print $ret; +print $out; print end_html;