]> git.zerfleddert.de Git - upsgraph/commitdiff
fix argument for print
authorMichael Gernoth <michael@gernoth.net>
Sat, 19 Dec 2009 22:30:02 +0000 (23:30 +0100)
committerMichael Gernoth <michael@gernoth.net>
Sat, 19 Dec 2009 22:30:02 +0000 (23:30 +0100)
upsgraph.pl

index 020569f69534184d9e387eee923fc7660b2b1957..5c94daf0535b5219d0a5e7dc32ac33635b5d8f62 100755 (executable)
@@ -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];
 }
 
Impressum, Datenschutz