summaryrefslogtreecommitdiff
path: root/scripts/libmakepkg/executable/fakeroot.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/libmakepkg/executable/fakeroot.sh.in')
-rw-r--r--scripts/libmakepkg/executable/fakeroot.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/libmakepkg/executable/fakeroot.sh.in b/scripts/libmakepkg/executable/fakeroot.sh.in
index e22d9a96..56c1b3fd 100644
--- a/scripts/libmakepkg/executable/fakeroot.sh.in
+++ b/scripts/libmakepkg/executable/fakeroot.sh.in
@@ -31,7 +31,7 @@ executable_fakeroot() {
if check_buildenv "fakeroot" "y" && (( EUID > 0 )); then
if ! type -p fakeroot >/dev/null; then
error "$(gettext "Cannot find the %s binary.")" "fakeroot"
- ret=1
+ return 1
fi
fi
}