sourcezap/libexec/srczap/issrczap-member

13 lines
147 B
Text
Raw Normal View History

2024-05-11 21:43:59 +02:00
#!/bin/sh
set -e
group="_srczap"
if id -Gn | \
tr ' ' '\n' | \
grep -e "^${group}$" \
> /dev/null 2>&1; then
exit 0
else
exit 1
fi