This commit is contained in:
0x1eef 2023-05-22 01:00:45 -03:00
parent 4d38c1b466
commit 4dc9fac23d

View file

@ -12,7 +12,7 @@ require_deps() {
require_group() {
group=$1
cmd=$(id -Gn | tr ' ' '\n' | grep ^${group}$)
if [ $cmd != $group ]; then
if [ [$cmd != $group] ]; then
echo "You must be a member of the '$group' group to run this command."
exit 1
fi