aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/board.bash2
-rw-r--r--bash/ssh-agent.bash2
-rw-r--r--bash/ssh-agent.profile2
3 files changed, 3 insertions, 3 deletions
diff --git a/bash/board.bash b/bash/board.bash
index 4df9f2a..5c5ac32 100644
--- a/bash/board.bash
+++ b/bash/board.bash
@@ -2,7 +2,7 @@
# config in ~/.files.config
-if [ "$BB_ENABLE"="yes" ]; then
+if [ ! "$BB_ENABLE" = "yes" ]; then
return
fi
diff --git a/bash/ssh-agent.bash b/bash/ssh-agent.bash
index 2f3040b..401564b 100644
--- a/bash/ssh-agent.bash
+++ b/bash/ssh-agent.bash
@@ -9,7 +9,7 @@
# $ flatpak override org.keepassxc.KeePassXC --user --filesystem=/run/user/$UID/ssh-agent.sock
# Caution: /var/run symlinks to /run. Flatpak for some reason does not resolve symlinks.
-if [ "$SA_SSH_AGENT_STATIC"="yes" ]; then
+if [ "$SA_SSH_AGENT_STATIC" = "yes" ]; then
AGENT_PID=''
if [ -e "$SA_SSH_PIDFILE" ]; then
AGENT_PID=$(cat $SA_SSH_PIDFILE)
diff --git a/bash/ssh-agent.profile b/bash/ssh-agent.profile
index efa3724..0fc4082 100644
--- a/bash/ssh-agent.profile
+++ b/bash/ssh-agent.profile
@@ -4,6 +4,6 @@
#SA_SSH_SOCKET="/var/run/user/$UID/ssh-agent.sock"
#SA_SSH_PIDFILE="/var/run/user/$UID/ssh-agent.pid"
-if [ ! "$SA_SSH_AGENT_STATIC"="yes" ]; then
+if [ ! "$SA_SSH_AGENT_STATIC" = "yes" ]; then
[ -z $SSH_AUTH_SOCK ] && eval `ssh-agent`
fi