mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-23 08:46:59 +08:00
Don't fail when run with VERBOSE=yes.
Do `set +x' before starting the subshell from which we invoke chgrp. Otherwise, the output from the VERBOSE=yes-induced `set -x' would result in spurious differences.
This commit is contained in:
parent
71453277f0
commit
7e9a874be6
@ -36,6 +36,9 @@ chgrp $g2 f || fail=1
|
||||
chgrp $g2 f2 || fail=1
|
||||
chgrp -R $g1 d || fail=1
|
||||
|
||||
# Don't let verbose output interfere.
|
||||
test "$VERBOSE" = yes && set +x
|
||||
|
||||
(
|
||||
chgrp -c $g1 f
|
||||
chgrp -c $g2 f
|
||||
|
Loading…
Reference in New Issue
Block a user