12 lines
147 B
Bash
12 lines
147 B
Bash
#!/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
|