diff --git a/.config/bash/module/Own.sh b/.config/bash/module/Own.sh index 2f5530b..311c1d2 100644 --- a/.config/bash/module/Own.sh +++ b/.config/bash/module/Own.sh @@ -18,7 +18,7 @@ function own() { fi # If not root, default to users group. - [[ "${user}" = 0 ]] || group="100" + [[ "${user}" = 0 ]] && group="0" || group="100" for file in "${files[@]}"; do # set ownership.