vbatts / slackware-container

Minimal rootfs creation for slackware linux (ideal for container images)
https://hub.docker.com/r/vbatts/slackware
97 stars 27 forks source link

correct slackpkg exit code typo #24

Closed slack-coder closed 1 year ago

slack-coder commented 1 year ago

Correct the interpretation of status code one hundred to signal availability of updates, the opposite of what is written.

From slackpkg's man page:

EXIT STATUS

0 Successful slackpkg execution.
1 Something wrong happened.
20 No package found to be downloaded, installed, reinstalled, upgraded, or
removed.
50 Slackpkg itself was upgraded and you need to re-run it.
100 There are pending updates.