From 4d2c1190ad79b06ed344afceae205f9463d0b11c Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Fri, 19 Jan 2018 16:00:20 +0000 Subject: [PATCH] Bug 20048: --status shell command line check missing TEST PLAN 1) Run the following commands git checkout -b bug_20048 origin/master sudo perl ~/misc4dev/cp_debian_files.pl sudo koha-zebra --status kohadev -- Will get error message 2) Run the following commands git bz apply 20048 sudo perl ~/misc4dev/cp_debian_files.pl sudo koha-zebra --status kohadev -- Will not get error message, but actual status 3) NOTE: Koha QA Test tools do not check bash scripts. --- debian/scripts/koha-zebra | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/scripts/koha-zebra b/debian/scripts/koha-zebra index e69fc7f..944e2e1 100755 --- a/debian/scripts/koha-zebra +++ b/debian/scripts/koha-zebra @@ -225,6 +225,9 @@ while [ $# -gt 0 ]; do --restart) set_action "restart" shift ;; + --status) + set_action "status" + shift ;; -*) die "Error: invalid option switch ($1)" ;; *) -- 2.1.4