Update of /cvsroot/srm/srm
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6035
Modified Files:
test.sh
Log Message:
fix variable
Index: test.sh
===================================================================
RCS file: /cvsroot/srm/srm/test.sh,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- test.sh 10 Jan 2014 06:17:06 -0000 1.14
+++ test.sh 10 Jan 2014 06:22:28 -0000 1.15
@@ -135,7 +135,7 @@
fi
# test return code if remove fails
-if [ $USER = doj -a $HOST = cubicle.cubic.org ] ; then
+if [ "$USER" = doj -a "$HOST" = cubicle.cubic.org ] ; then
cp -f /etc/fstab "/tmp/$USER.fstab"
if $SRM -f /etc/fstab ; then
echo "removing /etc/fstab as user should not work"
|