diff options
Diffstat (limited to 'abs/core/shadow/shadow.install')
-rw-r--r-- | abs/core/shadow/shadow.install | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/abs/core/shadow/shadow.install b/abs/core/shadow/shadow.install index c1bd106..14384c3 100644 --- a/abs/core/shadow/shadow.install +++ b/abs/core/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 inconsistent." \ + " Run 'grpck' to correct this." fi return 0 } |