Blame 0016-30convertfs-convertfs.sh-correct-check-for-usr-bin.patch
|
Harald Hoyer |
66318b |
From 97ce24ad8c97ca061675cf341301153a5314f851 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
66318b |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
66318b |
Date: Wed, 29 Feb 2012 13:21:51 +0100
|
|
Harald Hoyer |
66318b |
Subject: [PATCH] 30convertfs/convertfs.sh: correct check for /usr/bin
|
|
Harald Hoyer |
66318b |
|
|
Harald Hoyer |
66318b |
---
|
|
Harald Hoyer |
66318b |
modules.d/30convertfs/convertfs.sh | 2 +-
|
|
Harald Hoyer |
66318b |
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
Harald Hoyer |
66318b |
|
|
Harald Hoyer |
66318b |
diff --git a/modules.d/30convertfs/convertfs.sh b/modules.d/30convertfs/convertfs.sh
|
|
Harald Hoyer |
66318b |
index 036ec51..83cb68a 100755
|
|
Harald Hoyer |
66318b |
--- a/modules.d/30convertfs/convertfs.sh
|
|
Harald Hoyer |
66318b |
+++ b/modules.d/30convertfs/convertfs.sh
|
|
Harald Hoyer |
66318b |
@@ -47,7 +47,7 @@ if ! needconvert; then
|
|
Harald Hoyer |
66318b |
exit 0
|
|
Harald Hoyer |
66318b |
fi
|
|
Harald Hoyer |
66318b |
|
|
Harald Hoyer |
66318b |
-if [ -e "$ROOT/usr/bin" ]; then
|
|
Harald Hoyer |
66318b |
+if ! [ -e "$ROOT/usr/bin" ]; then
|
|
Harald Hoyer |
66318b |
echo "$ROOT/usr/bin does not exist"
|
|
Harald Hoyer |
66318b |
exit 1
|
|
Harald Hoyer |
66318b |
fi
|