Signed-off-by: Jens Weber <[email protected]>
---
script/simple2farm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/script/simple2farm b/script/simple2farm
index a7bc109..0743f20 100755
--- a/script/simple2farm
+++ b/script/simple2farm
@@ -28,7 +28,7 @@ config_offset=11
# Get the backend store from config file
echo "Read config file"
store=$(od --skip-bytes=$config_offset -An -c ../config | sed 's/ //g' | sed
's/\\0//g')
-if [ $store == "farm" ]; then
+if [ "x$store" == "xfarm" ]; then
echo "It's already the farm store, we'er done"
exit 0
fi
--
1.7.10.4
--
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog