diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2010-08-21 11:46:48 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2010-10-02 11:56:29 -0400 |
commit | 75841cf0ca5c2790cb589a592c8af683fe04cbad (patch) | |
tree | 87878e96218b6cda500820992fdbe440db1df5e2 /examples/data/scripts/session.sh | |
parent | f00cd76d9e3e7f70afc5ed0b616c0c6582f81845 (diff) |
Check to make sure uzbl called endinstance
Diffstat (limited to 'examples/data/scripts/session.sh')
-rwxr-xr-x | examples/data/scripts/session.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/data/scripts/session.sh b/examples/data/scripts/session.sh index d7bb322..c226c29 100755 --- a/examples/data/scripts/session.sh +++ b/examples/data/scripts/session.sh @@ -39,6 +39,10 @@ case $act in ;; "endinstance" ) + if [ "x$UZBL_FIFO" = "x" ]; then + echo "session manager: endinstance must be called from uzbl" + exit 1 + fi if [ ! "$UZBL_URL" = "(null)" ]; then echo "$UZBL_URL" >> $UZBL_SESSION_FILE fi |