diff options
-rwxr-xr-x | pkgbuild-check-nonfree | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgbuild-check-nonfree b/pkgbuild-check-nonfree index bd6fa4b..df0ff36 100755 --- a/pkgbuild-check-nonfree +++ b/pkgbuild-check-nonfree @@ -161,7 +161,7 @@ while getopts 'h' arg; do esac done -if (( ! EUID )); then +if [ -w / ]; then error "Run as normal user" fi |