Fix typo: use ls -ldo, not ls -ldg. Patch from Albert Chin.
authorJim Meyering <jim@meyering.net>
Sat, 29 May 2004 20:46:43 +0000 (20:46 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 29 May 2004 20:46:43 +0000 (20:46 +0000)
tests/chown/deref

index a106037..2570a32 100755 (executable)
@@ -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