diff options
author | Jonas Smedegaard <dr@jones.dk> | 2007-10-23 21:14:51 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2007-10-23 21:14:51 +0000 |
commit | 828a6e23cfa2463a87206b1b1a0586f5e511775f (patch) | |
tree | 427f41d0a1d6238a5a6af24dd6eb9b1a75b689b6 /showlog | |
parent | f22a021d38f50abc25a28fa3ffeca3941a1f64f2 (diff) |
fix tail_history variable resolving.
Diffstat (limited to 'showlog')
-rwxr-xr-x | showlog | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |