From 8bd6e811611e28592e02eeba613ec289ee781708 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Mon, 14 Dec 2009 10:57:43 -0600 Subject: [PATCH] byobu: check number of args for "1", and "-v", LP: #494465 --- byobu | 2 +- debian/changelog | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/byobu b/byobu index 0d3267cc..e2f08fe2 100755 --- a/byobu +++ b/byobu @@ -21,7 +21,7 @@ PKG="byobu" VERSION=2.41 # Add a version argument for debugging purposes -if [ "$1" = "-v" ]; then +if [ "$#" = "1" ] && [ "$1" = "-v" ]; then echo "$PKG version $VERSION" screen -v exit 0 diff --git a/debian/changelog b/debian/changelog index 794b52b0..94e9b151 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,6 @@ byobu (2.41) unreleased; urgency=low - * UNRELEASED + * byobu: check number of args for "1", and "-v", LP: #494465 -- Dustin Kirkland Sun, 13 Dec 2009 19:16:43 -0800