View | Details | Raw Unified | Return to bug 25634
Collapse All | Expand All

(-)a/debian/scripts/koha-foreach (-2 / +3 lines)
Lines 61-67 do Link Here
61
        # Change to the instance's home dir if required
61
        # Change to the instance's home dir if required
62
        [ "$chdir" != "no" ] && eval cd ~$name"-koha"
62
        [ "$chdir" != "no" ] && eval cd ~$name"-koha"
63
63
64
        koha-shell ${name} -c "${cmd}"
64
        if ! koha-shell ${name} -c "${cmd}"; then
65
            echo "${name}: non-zero status returned by \"${cmd}\""
66
        fi
65
67
66
        # Go back to the original dir if required
68
        # Go back to the original dir if required
67
        [ "$chdir" != "no" ] && cd "$starting_dir"
69
        [ "$chdir" != "no" ] && cd "$starting_dir"
68
- 

Return to bug 25634