update blog
[blog.git] / cgi-bin / update.pl
old mode 100644 (file)
new mode 100755 (executable)
index c560e39..d69f529
@@ -4,11 +4,15 @@ use strict;
 
 use CGI qw/:standard/;
 
+my $out = `cd .. && make update 2>&1`;
+my $ret = $?;
+
 print header;
 print start_html("Update");
 print br;
-print `make update`;
 
 print "Hello world\n";
+print $ret;
+print $out;
 
 print end_html;