diff options
author | root <root@rshg054.dnsready.net> | 2011-12-04 23:14:51 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-04 23:14:51 +0000 |
commit | 392d2d86b3657d90c3954a44dd6e3e5a4d12d455 (patch) | |
tree | a88c28d4a6652dd77a3557f0dab9f6c6bdda037e /testing/shadow/shadow.install | |
parent | 851376cd7720e1f9b35e0a7c26bfd66399f0c4d3 (diff) |
Sun Dec 4 23:14:51 UTC 2011
Diffstat (limited to 'testing/shadow/shadow.install')
-rw-r--r-- | testing/shadow/shadow.install | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/testing/shadow/shadow.install b/testing/shadow/shadow.install index c1bd1066b..e990bfe39 100644 --- a/testing/shadow/shadow.install +++ b/testing/shadow/shadow.install @@ -1,8 +1,9 @@ post_upgrade() { - grpck -r &>/dev/null + grpck -r >/dev/null 2>&1 if [ $? -eq 2 ]; then - echo "Fixing gshadow file ..." - while :; do echo "y"; done | grpck &>/dev/null + printf '%s\n' \ + "==> Warning: /etc/group or /etc/gshadow are inconsistant." \ + " Run 'grpck' to correct this." fi return 0 } |