aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/slugos-init
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2011-02-13 11:06:30 -0600
committerMike Westerhof <mwester@dls.net>2011-02-13 11:06:30 -0600
commit2ecf8e932555f4b72fdf004aa4289c933f907f00 (patch)
tree63af27a24f3e635128eac858722e545014ab0f71 /recipes/slugos-init
parent1c541bf6ecae05a2214697b37cacade225df3f5c (diff)
downloadopenembedded-2ecf8e932555f4b72fdf004aa4289c933f907f00.tar.gz
openembedded-2ecf8e932555f4b72fdf004aa4289c933f907f00.tar.bz2
openembedded-2ecf8e932555f4b72fdf004aa4289c933f907f00.zip
SlugOS: slugos-init/files/functions -- fix spurious shell error message
Fixes spurious message "bad number" from /bin/sh on initial boot.
Diffstat (limited to 'recipes/slugos-init')
-rw-r--r--recipes/slugos-init/files/functions2
1 files changed, 1 insertions, 1 deletions
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