Commit 5a4d7315 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Guess this has not been installed on ops in a long time ... fixed

the exit status check on the final chmod.
parent 39a2cb82
......@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2003, 2004 University of Utah and the Flux Group.
# Copyright (c) 2003, 2004, 2005 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -182,7 +182,7 @@ if (($exit_status & 0xff) == SIGKILL) {
# Change the permissions on the file so that other group members can overwrite
# it
#
system("$CHMOD g+w $localfile")
system("$CHMOD g+w $localfile") == 0
or die ("*** ERROR - Unable to change permissions on $localfile!");
exit($exit_status >> 8);
......
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