From 972d4b8fc6bc21b764000b9f1d2c2ba7b5a75889 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Sun, 5 Mar 2017 21:21:31 +0800 Subject: [PATCH] update update.pl --- cgi-bin/update.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.11.0