Fixed rsh
This commit is contained in:
parent
391352ba57
commit
15d7066a6d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user