[OE-core] [PATCH 7/8] scripts/runqemu: remove redundant checking

Otavio Salvador otavio at ossystems.com.br
Sat Aug 20 04:58:45 UTC 2011


Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
 scripts/runqemu |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index 91c3c9e..d617f79 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -163,7 +163,7 @@ while [ $i -le $# ]; do
             # A directory name is an nfs rootfs
             if [ -d "$arg" ]; then
                 echo "Assuming $arg is an nfs rootfs"
-                if [[ -z "$FSTYPE" || "$FSTYPE" == "nfs" ]]; then
+                if [[ -z "$FSTYPE" ]]; then
                     FSTYPE=nfs
                 else
                     echo "Error: conflicting FSTYPE types [$arg] and nfs"
-- 
1.7.2.5





More information about the Openembedded-core mailing list