Commit ac976971 authored by Mike Hibler's avatar Mike Hibler

Check in the right version of the file this time!

parent c53d5827
...@@ -14,10 +14,10 @@ use POSIX qw(setsid); ...@@ -14,10 +14,10 @@ use POSIX qw(setsid);
# #
sub usage() sub usage()
{ {
print(STDOUT "Usage: console -d pcXXX\n"); print(STDOUT "Usage: console [-d] pcXXX\n");
exit(-1); exit(-1);
} }
my $optlist = ""; my $optlist = "dp:";
my @opts = (); my @opts = ();
# #
...@@ -82,7 +82,11 @@ else { ...@@ -82,7 +82,11 @@ else {
# Ask the XMLRPC server for the tipacl. The current user has to have proper # Ask the XMLRPC server for the tipacl. The current user has to have proper
# permission of course. # permission of course.
# #
system("$WRAPPER tipacl $node >> $tempfile"); if (system("$WRAPPER tipacl $node >> $tempfile")) {
unlink($tempfile);
die("*** $0:\n".
" $WRAPPER failed\n");
}
# #
# Do not want to leave the acl file around, and do not want to wait for # Do not want to leave the acl file around, and do not want to wait for
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment