From 1bc5eea5274881a299da19ff5df1c7ddc61cbe93 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 13 Aug 2016 23:38:11 +0200 Subject: fix ShellCheck warnings --- .bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index f068405..342b8a3 100644 --- a/.bash_profile +++ b/.bash_profile @@ -44,7 +44,7 @@ fi # fi spawn_ssh_agent() { - [ ! -z "${SSH_AGENT_PID:+x}" ] && return 0 + [ -n "${SSH_AGENT_PID:+x}" ] && return 0 eval "$( ssh-agent -s )" > /dev/null \ && trap "$( printf 'kill %q' "$SSH_AGENT_PID" )" 0 \ -- cgit v1.2.3