elf-default-arch should exit with an error if it fails.
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 6 Nov 2010 10:46:17 +0000 (10:46 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 6 Nov 2010 11:11:00 +0000 (11:11 +0000)
helper/elf-default-arch

index 38bf536..54af14d 100755 (executable)
@@ -28,4 +28,5 @@ case $(uname -m) in
     ppc64) echo "elf64-powerpc powerpc" ;;
     *)
         echo "This architecture is not recognized.  Please update helper/elf-default-arch."
+        exit 1
 esac