update update.pl
[blog.git] / cgi-bin / update.pl
index ec288f8..d69f529 100755 (executable)
@@ -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;