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);
#
sub usage()
{
print(STDOUT "Usage: console -d pcXXX\n");
print(STDOUT "Usage: console [-d] pcXXX\n");
exit(-1);
}
my $optlist = "";
my $optlist = "dp:";
my @opts = ();
#
......@@ -82,7 +82,11 @@ else {
# Ask the XMLRPC server for the tipacl. The current user has to have proper
# 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
......
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