[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Possibly quite a few bugs?



>>>>> "Josip" == Josip Rodin <joy@cibalia.gkvk.hr> writes:

    >> Notice the underlined `exit 0' above. It will cause the whole
    >> script to exit, not just the case statement as one might think.

    Josip> Um. I can't read. Ignore what I wrote above.

    Josip> I don't see[1] why would it fail to run the debhelper-added
    Josip> parts, since prerm is run with $1 = "remove" on removing or
    Josip> purging the package.

I have to wonder why it is exit 0.

Surely it should return a non-0 exit code, to indicate that an error
occurred?

Then again, dh_make automatically creates this code (as example code),
so perhaps there is a good reason for it.
-- 
Brian May <bam@debian.org>



Reply to: