aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/scripts/history.sh
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2010-11-21 23:25:17 -0700
committerGravatar Brendan Taylor <whateley@gmail.com>2010-11-21 23:25:17 -0700
commit2fbd3ecfd2697f5883228c1ff8ddae65a5e48322 (patch)
tree5340c0d3912c2cda2b5d481070d86bd4b61652df /examples/data/scripts/history.sh
parentf140884503c05d20bbd88114a1f1f10b6de067ef (diff)
parente660b9de3f4331ebf171735b40eb12105218b2d7 (diff)
Merge branch 'dev/cleanup-scripts'
Conflicts: src/uzbl-browser
Diffstat (limited to 'examples/data/scripts/history.sh')
-rwxr-xr-xexamples/data/scripts/history.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/data/scripts/history.sh b/examples/data/scripts/history.sh
index b8a15e0..0561fe9 100755
--- a/examples/data/scripts/history.sh
+++ b/examples/data/scripts/history.sh
@@ -2,6 +2,6 @@
. $UZBL_UTIL_DIR/uzbl-dir.sh
-[ -w "$UZBL_HISTORY_FILE" ] || exit 1
+[ -w "$UZBL_HISTORY_FILE" ] || [ ! -a "$UZBL_HISTORY_FILE" ] || exit 1
echo $(date +'%Y-%m-%d %H:%M:%S')" $6 $7" >> $UZBL_HISTORY_FILE