Fix shell scripting botch wrt empty variable handling.

Merge of master-melb:xfs-cmds:26814a by kenmcd.
This commit is contained in:
Nathan Scott
2006-08-18 15:40:32 +00:00
parent 25567237c1
commit b4856f64fe
+1 -1
View File
@@ -90,7 +90,7 @@ _choose_gid()
_choose_prid()
{
if [ $projid_file == "" ]; then
if [ "X$projid_file" == "X" ]; then
projid_file=/etc/projid
fi
if [ ! -f $projid_file ]; then