Skip to content
Snippets Groups Projects
Commit 22a73788 authored by Bob Mottram's avatar Bob Mottram
Browse files

Exceptions

parent e6d4f1af
No related branches found
No related tags found
No related merge requests found
#!/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
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment