changeset 574:00f5e55cbce8

elif+then
author Jeff Hammel <k0scist@gmail.com>
date Fri, 17 Jan 2014 14:58:26 -0800
parents 1e1db18fb7fa
children 5f186e65da09
files bin/setup-X.sh
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bin/setup-X.sh	Thu Jan 16 16:32:52 2014 -0800
+++ b/bin/setup-X.sh	Fri Jan 17 14:58:26 2014 -0800
@@ -29,6 +29,7 @@
  then
    SSH_ASKPASS=${GUI_SSH_ASKPASS} ssh-add
  elif [[ -z "$PS1" ]]
+ then
              # http://www.cyberciti.biz/faq/linux-unix-bash-check-interactive-shell/
 
    echo "not running ssh-add: PS1 not found"