From 2ecf8e932555f4b72fdf004aa4289c933f907f00 Mon Sep 17 00:00:00 2001 From: Mike Westerhof Date: Sun, 13 Feb 2011 11:06:30 -0600 Subject: [PATCH] SlugOS: slugos-init/files/functions -- fix spurious shell error message Fixes spurious message "bad number" from /bin/sh on initial boot. --- recipes/slugos-init/files/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5