[Koha-bugs] [Bug 10101] koha-enable error handling

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 29 05:35:57 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10101

Mason James <mtj at kohaaloha.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mtj at kohaaloha.com

--- Comment #4 from Mason James <mtj at kohaaloha.com> ---
(In reply to comment #3)
> Created attachment 17776 [details] [review]
> Signed off patch

a small QA question, this patch breaks the default 'usage' message, when no arg
is passed - is this intended?

-[ "$#" = 1 ] || die "Usage: $0 instancename..."
+[ "$#" > 1 ] || die "Usage: $0 instancename..."


before...
  # koha-enable 
  Usage: /usr/sbin/koha-enable instancename...


after...
  # koha-enable 
  #

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list