diff mbox series

[07/26] haveged: don't test if the binary exists in the init script

Message ID 20180416022944.13644-8-casantos@datacom.ind.br
State Accepted
Headers show
Series init scripts: don't test if binaries exist | expand

Commit Message

Carlos Santos April 16, 2018, 2:29 a.m. UTC
The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
---
 package/haveged/S21haveged | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/package/haveged/S21haveged b/package/haveged/S21haveged
index 3e6ce8678f..4b6e6ced4e 100755
--- a/package/haveged/S21haveged
+++ b/package/haveged/S21haveged
@@ -1,7 +1,5 @@ 
 #!/bin/sh
 
-[ -x /usr/sbin/haveged ] || exit 0
-
 case "$1" in
 	start)
 		printf "Starting haveged: "