: #	@(#)rmlock	1.1	remove lock file, exit w/success status
# rmlock:  
#	Remove a lock file.  Lock file may be a directory.  Should NOT
#	be invoked with the dot (.)  command or the exit statements
#	will exit the invoking program.
# Author:  Larry Bamford, AO, SSD, COB, STS, ETC, 2/16/89

_LOCKFILE=$1	# name of lock file to remove

rmdir $_LOCKFILE
if test $? -eq 0
then
	exit 0
else
	echo "Warning!  Could not remove $1"
	exit 1
fi
