From: Mike Westerhof Date: Sun, 13 Feb 2011 17:06:30 +0000 (-0600) Subject: SlugOS: slugos-init/files/functions -- fix spurious shell error message X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ecf8e932555f4b72fdf004aa4289c933f907f00;p=openembedded.git SlugOS: slugos-init/files/functions -- fix spurious shell error message Fixes spurious message "bad number" from /bin/sh on initial boot. --- diff --git a/recipes/slugos-init/files/functions b/recipes/slugos-init/files/functions index 38a3b4d166..dcb7445077 100644 --- a/recipes/slugos-init/files/functions +++ b/recipes/slugos-init/files/functions @@ -394,7 +394,7 @@ umountflash(){ # the flash root partition we know a file which must exist... case "$mp/$type" in //jffs2);; # skip / - */jffs2)test "$(devio "<<$mp/etc/init.d/sysconfsetup" prd 2>/dev/null)" -ne "$ffsno" || + */jffs2)test "$(devio "<<$mp/etc/init.d/sysconfsetup" prd 2>/dev/null)" != "$ffsno" || umount "$mp" || { echo "$0: $mp: unable to umount $ffsdev" >&2 return 1