projects
/
uzbl-mobile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcae0dd
)
session.sh: backup rather than clearing existing session file
author
bobpaul
<bobpaul@lappy486.(none)>
Thu, 4 Jun 2009 01:33:55 +0000
(20:33 -0500)
committer
bobpaul
<bobpaul@lappy486.(none)>
Thu, 4 Jun 2009 01:33:55 +0000
(20:33 -0500)
examples/scripts/session.sh
patch
|
blob
|
history
diff --git
a/examples/scripts/session.sh
b/examples/scripts/session.sh
index
6d2a64d
..
e2642c7
100755
(executable)
--- a/
examples/scripts/session.sh
+++ b/
examples/scripts/session.sh
@@
-44,7
+44,7
@@
case $act in
;;
"endsession" )
- echo -n "" > "$sessionfile"
+ mv "$sessionfile" "$sessionfile~"
for fifo in $fifodir/uzbl_fifo_*; do
if [ "$fifo" != "$thisfifo" ]; then
echo "spawn $scriptfile endinstance" > "$fifo"