]> arthur.barton.de Git - ax-unix.git/commitdiff
ax-common.sh: Fix "-l" handling in ax_abort()
authorAlexander Barton <alex@barton.de>
Fri, 1 Dec 2017 11:11:49 +0000 (12:11 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 1 Dec 2017 11:11:49 +0000 (12:11 +0100)
lib/ax/ax-common.sh

index a5b4efdc57a95456b7cafc17b7c22ad60e8ccf7f..e51f81616b14775ca2e5b2ad14c121f351d5da36 100644 (file)
@@ -64,6 +64,7 @@ ax_error() {
 ax_abort() {
        if [ "$1" = "-l" ]; then
                log_param="-l"
+               shift
        else
                unset log_param
        fi