mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-22 17:13:27 +01:00
The 'return' builtin is used for functions and dot scripts only: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#return This means that paxmark has undefined behaviour. When /bin/sh is bash, an error is output: /usr/sbin/paxmark: line 32: return: can only `return' from a function or sourced script This commit replaces 'return' with POSIX standard 'exit'.