[smuxi: 1/4] Docker: fixed user detection
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi: 1/4] Docker: fixed user detection
- Date: Sat, 27 Sep 2014 10:40:36 +0000 (UTC)
commit d344f102df592faf20e663a91d41c62b69232caf
Author: Mirco Bauer <meebey meebey net>
Date: Thu Sep 25 12:29:49 2014 +0200
Docker: fixed user detection
docker/daily/start.sh | 2 +-
docker/release/start.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/docker/daily/start.sh b/docker/daily/start.sh
index be2c392..d87eb57 100644
--- a/docker/daily/start.sh
+++ b/docker/daily/start.sh
@@ -9,7 +9,7 @@ fi
user=`grep -E '^user\s' /config/creds.conf | cut -f 2`
pass=`grep -E '^pass\s' /config/creds.conf | cut -f 2`
-if smuxi-server --list-users | grep -Fxq "$user"
+if smuxi-server --list-users | grep -Fq "$user"
then
echo "User already exists."
else
diff --git a/docker/release/start.sh b/docker/release/start.sh
index be2c392..d87eb57 100644
--- a/docker/release/start.sh
+++ b/docker/release/start.sh
@@ -9,7 +9,7 @@ fi
user=`grep -E '^user\s' /config/creds.conf | cut -f 2`
pass=`grep -E '^pass\s' /config/creds.conf | cut -f 2`
-if smuxi-server --list-users | grep -Fxq "$user"
+if smuxi-server --list-users | grep -Fq "$user"
then
echo "User already exists."
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]