Commit 96c6bf93 authored by Gerald Carter's avatar Gerald Carter Committed by Gerald (Jerry) Carter
Browse files

r795: paranoia checks

(This used to be commit c087c51535982bd9db11e78db4064468f3507808)
parent 0f5e40b1
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -124,6 +124,12 @@ if [ ! -O $logdir ]; then
	debug=""
fi

touch $debugfile
if [ -h $debugfile ]; then
	echo "$debugful is a symlink.  Turning off debugging!"
	debug=""
fi

##
## We should be safe at this point to create the log file
## without fear of a symlink attack -- move on to more script work.