summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmultiarch-dispatch2
1 files changed, 1 insertions, 1 deletions
diff --git a/multiarch-dispatch b/multiarch-dispatch
index db98f1d..3c3cf22 100755
--- a/multiarch-dispatch
+++ b/multiarch-dispatch
@@ -15,7 +15,7 @@ fi
bin=`dirname $0`/`multiarch-platform`/${0##*/}
-if [[ -x "$bin" ]]; then
+if [[ ! -x "$bin" ]]; then
echo "Cannot execute $bin" > /dev/stderr
exit 1
fi