Fixed rsh

This commit is contained in:
Austen Adler 2015-12-06 13:11:19 -05:00
parent 391352ba57
commit 15d7066a6d

View File

@ -44,6 +44,7 @@ function rsh(){
return 1
fi
ADDR=$(cat /home/stonewareslord/syncthing/shared/ips | sed -rne "s/^$1: //p")
shift
if [ -z $ADDR ] ; then
echo "Hostname not found"
return 2