mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Fix shell scripting botch wrt empty variable handling.
Merge of master-melb:xfs-cmds:26814a by kenmcd.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user