diff --git a/fb-login-test.sh b/fb-login-test.sh index b18af8e..2974396 100755 --- a/fb-login-test.sh +++ b/fb-login-test.sh @@ -4,7 +4,9 @@ SID=0 # # define FB_USER and FB_PASS in file fbconfig.config the user must have access to the SmartHome -source $HOME/.fbsh.config +if (test -r $HOME/.fbsh.config); then + source $HOME/.fbsh.config +fi # # login into the FB, grabbing a valid Session Key into variable SID