diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/generic-includes.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/generic-includes.sh b/includes/generic-includes.sh index 97926f0..07de078 100644 --- a/includes/generic-includes.sh +++ b/includes/generic-includes.sh @@ -69,7 +69,7 @@ function setperms find "$1" -type f -exec chmod 644 '{}' \; find "$1" -type f -iname '*.exe' -exec chmod 755 '{}' \; find "$1" -type f -iname '*.ini' -exec chmod 664 '{}' \; - chgrp -R games "$1" > /dev/null # fail silently if you don't use a games group. + chgrp -R games "$1" &> /dev/null if [ -d "$1"/save ]; then chmod -R g+w "$1"/save fi |