Fix typo: use ls -ldo, not ls -ldg. Patch from Albert Chin.

This commit is contained in:
Jim Meyering
2004-05-29 20:46:43 +00:00
parent a07816dc58
commit 549e8ff6df
+1 -1
View File
@@ -26,7 +26,7 @@ fi
fail=0
set _ `ls -ldg dangle`; shift; user=$3
set _ `ls -ldo dangle`; shift; user=$3
# With 5.2.1 and earlier, this command would mistakenly succeed.
chown --dereference $user dangle 2> out1 && fail=1