Merge branch 'dev' of feistymeow.org:feisty_meow into dev
[feisty_meow.git] / scripts / core / functions.sh
index c078c90afdb1d6feaa3060f8f2e8402af55cb012..007f47462cc251ebb7211ce2f1f4caf1e1a8c7ce 100644 (file)
@@ -174,9 +174,9 @@ if [ -z "$skip_all" ]; then
     local oldterm="$TERM"
     export TERM=linux
     /usr/bin/ssh -X -C "${args[@]}"
-    restore_terminal_title
     # restore the terminal variable also.
     TERM="$oldterm"
+    restore_terminal_title
   }
 
   ##############