From: Michael Gernoth Date: Sat, 19 Dec 2009 22:30:02 +0000 (+0100) Subject: fix argument for print X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/upsgraph/commitdiff_plain/c6f0760e6ec8e04b8b65bdea4e32ac1a184df2be?ds=inline fix argument for print --- diff --git a/upsgraph.pl b/upsgraph.pl index 020569f..5c94daf 100755 --- a/upsgraph.pl +++ b/upsgraph.pl @@ -31,7 +31,7 @@ if ($> == 0) { exit(1); } - print "Running as root, switching to ".$ARGV[3]."\n"; + print "Running as root, switching to ".$ARGV[1]."\n"; $< = $> = $ARGV[1]; }