diff --git a/doskast-server-watcher.sh b/doskast-server-watcher.sh index e66aa2a..00d1427 100755 --- a/doskast-server-watcher.sh +++ b/doskast-server-watcher.sh @@ -15,7 +15,7 @@ _main_server_watcher(){ do # TODO: validate IP/hostname local target - target="$(head -n 1 "$line" | _safe_param_stdin)" + target="$(head -n 1 "$dir/$line" | _safe_param_stdin)" test -n "$target" xpra attach tcp://"$target":4648 & done