X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/upsgraph/blobdiff_plain/1c9fb9df72fda2bb8126b5d4747b7251cbdf5d56..c6f0760e6ec8e04b8b65bdea4e32ac1a184df2be:/upsgraph.pl 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]; }