Browse Source

device condition works now because I used it, again...

Émile Morel 9 years ago
parent
commit
31e12fe9e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      olinux/create_device.sh

+ 1 - 1
olinux/create_device.sh

@@ -171,7 +171,7 @@ else
     umount $MNT1
     cryptsetup luksClose olinux 
   fi
-  if $(file ${DEB_DIR} | grep 'DOS/MBR') ; then
+  if [[ `file ${DEB_DIR} | grep 'DOS/MBR'` ]] ; then
     umount $MNT2
     losetup -d $DEVICE1
   fi