Exceptions

This commit is contained in:
Bob Mottram 2016-11-30 17:44:43 +00:00
parent e6d4f1af0c
commit 22a7378852
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
if [ $(pwck -r | grep "no group" | wc -l) -ne 0 ];then if [ $(pwck -r | sed '/nonexist/d' | sed '/\/home\//d' | sed '/\/run\//d' | sed '/no changes/d' | grep "no group" | wc -l) -ne 0 ];then
exit 1 exit 1
fi fi