0x1eef
ea06f0dfbc
A modified copy of portzap repurposed for management of the hardenedbsd source tree.
11 lines
143 B
Bash
11 lines
143 B
Bash
#!/bin/sh -e
|
|
|
|
group="_srczap"
|
|
if id -Gn | \
|
|
tr ' ' '\n' | \
|
|
grep -e "^${group}$" \
|
|
> /dev/null 2>&1; then
|
|
exit 0
|
|
else
|
|
exit 1
|
|
fi
|