sourcezap/libexec/srczap/issrczap-member
0x1eef ea06f0dfbc First commit
A modified copy of portzap repurposed for management of the
hardenedbsd source tree.
2024-05-11 16:03:00 -03:00

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