]> gitweb.hhaalo.de Git - scantopdf.git/commitdiff
fix create multi pdfs run
authorBastian Dehn <hhaalo@arcor.de>
Sun, 6 Jul 2025 10:23:59 +0000 (12:23 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 6 Jul 2025 10:23:59 +0000 (12:23 +0200)
src/scanbasic.sh

index 51aa0378b7c91553c65c698cf806d89986e0be16..c5096f58405c0f44e2147fbdd3aae2baebe97179 100644 (file)
@@ -229,8 +229,9 @@ scantopdf() {
 
        [ "$output" != "multi" ] \
                || createmultipdfs \
-               && return 0 \
                || return $?
+       [ "$output" != "multi" ] \
+               || return 0 \
 
        createonepdf "$output" \
                || return $?