Fix wrong syntax in init.wrapper 13/180713/1
authorHyotaek Shim <hyotaek.shim@samsung.com>
Fri, 1 Jun 2018 09:16:21 +0000 (18:16 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Fri, 1 Jun 2018 09:16:21 +0000 (18:16 +0900)
Change-Id: I7752106609603a3fa95be7bda1aa246d7999f16f
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
scripts/init.wrapper

index 082be47..32f53b9 100644 (file)
@@ -41,8 +41,9 @@ else
 fi
 
 if [ x$MODULES = "x" ]
-    echo "Warning : There is no modules partition."
 then
+    echo "Warning : There is no modules partition."
+else
     /sbin/resize2fs -f $MODULES
     /sbin/fsck -y $MODULES
     /bin/mount $MODULES $MODULES_MNT