Exceptions
This commit is contained in:
parent
e6d4f1af0c
commit
22a7378852
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue