From 828a6e23cfa2463a87206b1b1a0586f5e511775f Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 23 Oct 2007 21:14:51 +0000 Subject: fix tail_history variable resolving. --- showlog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'showlog') 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 # -# $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" -- cgit v1.2.3