Skip to content

Commit 4df4b7a

Browse files
committed
<> -> <STDIN> to avoid errors when running as root
1 parent 4ae993a commit 4df4b7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

trunk/nuvexport

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/perl -w
2-
# Last Updated: 2004.12.14 (xris)
2+
# Last Updated: 2005.01.20 (xris)
33

44
# Autoflush buffers
55
$|++;
@@ -11,7 +11,7 @@
1111
# Annoy people running as root
1212
if ($< < 1) {
1313
print "You are running nuvexport as root -- this is not advised.\nPress ENTER if you really want to do this.\n";
14-
<>;
14+
<STDIN>;
1515
}
1616
}
1717

0 commit comments

Comments
 (0)