diff options
-rwxr-xr-x | shell | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -44,10 +44,10 @@ else # Local root shell window_title root sudo screen -x - elif [ -z "$COMMAND" ] && [ "$DEST" == "network" ]; then + elif [ -z "$COMMAND" ] && [ -f "$HOME/.screen/$DEST" ]; then # Local root shell - window_title network - shell local network + window_title $DEST + shell local $DEST elif [ "$DEST" == "local" ]; then # Local screen shell window_title $COMMAND |