Blame 0042-98usrmount-x-_usr_found-x-removed-redundant-x.patch
|
Harald Hoyer |
12f6cc |
From 221c342d5068c1fa05e38c44b1044a0aacae4a5c Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
12f6cc |
From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name>
|
|
Harald Hoyer |
12f6cc |
Date: Thu, 26 Jul 2012 15:05:24 +0200
|
|
Harald Hoyer |
12f6cc |
Subject: [PATCH] 98usrmount: [ "x$_usr_found" != "x" ] - removed redundant
|
|
Harald Hoyer |
12f6cc |
'x'
|
|
Harald Hoyer |
12f6cc |
|
|
Harald Hoyer |
12f6cc |
---
|
|
Harald Hoyer |
12f6cc |
modules.d/98usrmount/mount-usr.sh | 2 +-
|
|
Harald Hoyer |
12f6cc |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Harald Hoyer |
12f6cc |
|
|
Harald Hoyer |
12f6cc |
diff --git a/modules.d/98usrmount/mount-usr.sh b/modules.d/98usrmount/mount-usr.sh
|
|
Harald Hoyer |
12f6cc |
index f4d59b3..cca41c3 100755
|
|
Harald Hoyer |
12f6cc |
--- a/modules.d/98usrmount/mount-usr.sh
|
|
Harald Hoyer |
12f6cc |
+++ b/modules.d/98usrmount/mount-usr.sh
|
|
Harald Hoyer |
12f6cc |
@@ -70,7 +70,7 @@ mount_usr()
|
|
Harald Hoyer |
12f6cc |
fi
|
|
Harald Hoyer |
12f6cc |
done < "$NEWROOT/etc/fstab" >> /etc/fstab
|
|
Harald Hoyer |
12f6cc |
|
|
Harald Hoyer |
12f6cc |
- if [ "x$_usr_found" != "x" ]; then
|
|
Harald Hoyer |
12f6cc |
+ if [ "$_usr_found" != "" ]; then
|
|
Harald Hoyer |
12f6cc |
# we have to mount /usr
|
|
Harald Hoyer |
12f6cc |
_fsck_ret=0
|
|
Harald Hoyer |
12f6cc |
if ! getargbool 0 rd.skipfsck; then
|