[Buildroot] [PATCH 20/26] squid: don't test if the binary exists in the init script

Carlos Santos casantos at datacom.ind.br
Mon Apr 16 02:29:38 UTC 2018


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 at datacom.ind.br>
---
 package/squid/S97squid | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/squid/S97squid b/package/squid/S97squid
index 535b1d9622..05fb93e317 100755
--- a/package/squid/S97squid
+++ b/package/squid/S97squid
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-[ -x /usr/sbin/squid ] || exit 0
 [ -f /etc/squid.conf ] || exit 0
 
 case "$1" in
-- 
2.14.3




More information about the buildroot mailing list