diff --git a/scripts/linux_build/linux_native_build.bash b/scripts/linux_build/linux_native_build.bash
index 4c424a98004eaa67b455cecbd391a505b6fe54c0..3fd7b55a22234e3dba6433e09bb35936e92283a7 100755
--- a/scripts/linux_build/linux_native_build.bash
+++ b/scripts/linux_build/linux_native_build.bash
@@ -1,5 +1,4 @@
 #!/bin/bash
-
 do_build() {
     # TODO: build inside a chroot?
     cd "${pkgname}" || exit 1
@@ -32,7 +31,8 @@ then
         fi
     else
         eval "$(</etc/lsb-release)"
-        echo "Distribution \'${DISTRIB_DESCRIPTION}\' is not currently supported by the native build script. Merge requests are welcome."
+        echo "Distribution '${DISTRIB_DESCRIPTION}' is not currently supported by the native build script. Merge requests are welcome."
+        exit 2
     fi
 fi
 do_build;