python-werkzeug: bump to version 0.11.15
[buildroot-gz.git] / package / rng-tools / 0001-rngd-exit-code.patch
blob709e20c70d8a259994596c907fc0cad73b4428f2
1 Exit with a special value when RNG modules are not available
3 Instead of returning with an error, exit with a special value when the
4 RNG kernel modules are not present in the kernel. This is not really a
5 hard failure.
7 Patch borrowed from Fedora, at
8 http://pkgs.fedoraproject.org/cgit/rng-tools.git/tree/rngd-exit-code.patch.
10 Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
12 --- a/rngd.c
13 +++ b/rngd.c
14 @@ -319,7 +319,7 @@ int main(int argc, char **argv)
15 message(LOG_DAEMON|LOG_ERR,
16 "Maybe RNG device modules are not loaded\n");
18 - return 1;
19 + return 66;
22 if (arguments->verbose) {