summaryrefslogtreecommitdiff
path: root/showlog
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2007-10-23 21:14:51 +0000
committerJonas Smedegaard <dr@jones.dk>2007-10-23 21:14:51 +0000
commit828a6e23cfa2463a87206b1b1a0586f5e511775f (patch)
tree427f41d0a1d6238a5a6af24dd6eb9b1a75b689b6 /showlog
parentf22a021d38f50abc25a28fa3ffeca3941a1f64f2 (diff)
fix tail_history variable resolving.
Diffstat (limited to 'showlog')
-rwxr-xr-xshowlog4
1 files changed, 2 insertions, 2 deletions
diff --git a/showlog b/showlog
index 7d78e3d..477fe75 100755
--- a/showlog
+++ b/showlog
@@ -3,7 +3,7 @@
# /usr/local/sbin/showlog
# Copyright 2002-2006 Jonas Smedegaard <dr@jones.dk>
#
-# $Id: showlog,v 1.11 2007-09-27 21:46:27 jonas Exp $
+# $Id: showlog,v 1.12 2007-10-23 21:14:51 jonas Exp $
#
# Show topic-specific log entries
#
@@ -43,7 +43,7 @@ cat_logs() {
done
}
-tail_history="$(tail_history:-500)"
+tail_history="${tail_history:-500}"
target=$1
shift || exit1 "Missing argument"