Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike@mikegerwitz.com>2011-10-02 23:15:25 -0400
committerMike Gerwitz <mike@mikegerwitz.com>2011-10-02 23:18:42 -0400
commitd0f063f4e898cfbc1eb86c7e4fede74ab162cf6e (patch)
tree455390f3ec7219f7faf8047ff4419991b7978b89
parent1bd9246f87fcd60e19093331e13fe0f7031643dc (diff)
downloadgsgp-d0f063f4e898cfbc1eb86c7e4fede74ab162cf6e.tar.gz
gsgp-d0f063f4e898cfbc1eb86c7e4fede74ab162cf6e.tar.bz2
gsgp-d0f063f4e898cfbc1eb86c7e4fede74ab162cf6e.zip
Start script will now run a nested screen session if necessary
-rwxr-xr-xstart5
1 files changed, 4 insertions, 1 deletions
diff --git a/start b/start
index e8615be..6fac322 100755
--- a/start
+++ b/start
@@ -14,5 +14,8 @@ export GSGP_PROFILE_PATH="$HOME/.$GSGP_ID/profiles/$GSGP_PROFILE"
mkdir -p "$GSGP_PROFILE_PATH" 2>/dev/null
opening_scene="$( dirname $0)/util/scene-runner start"
-screen -c screenrc $opening_scene
+
+# clear STY to permit running a nested screen session in the event we're already
+# in a screen session
+STY= screen -c screenrc $opening_scene