freedomboneeee/tests/check-gids.sh

6 lines
167 B
Bash
Raw Normal View History

#!/bin/bash
2016-11-30 18:44:43 +01:00
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
fi