Shortening /etc/mtab conditional creation.
authorDaniel Baumann <mail@daniel-baumann.ch>
Mon, 24 Jun 2013 20:04:17 +0000 (22:04 +0200)
committerDaniel Baumann <mail@daniel-baumann.ch>
Mon, 24 Jun 2013 20:04:17 +0000 (22:04 +0200)
components/9990-aaa-fixme.sh

index a8fc6e8..8c7371b 100755 (executable)
@@ -17,11 +17,7 @@ mkdir -p /var/lib/live/boot
 
 # Create /etc/mtab for debug purpose and future syncs
 mkdir -p /etc
-
-if [ ! -f /etc/mtab ]
-then
-       touch /etc/mtab
-fi
+touch /etc/mtab
 
 if [ ! -x "/bin/fstype" ]
 then