diff options
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 |