squid: don't test if the binary exists in the init script
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> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
e9eb40a96c
commit
999d1a690c
|
@ -1,6 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ -x /usr/sbin/squid ] || exit 0
|
||||
[ -f /etc/squid.conf ] || exit 0
|
||||
|
||||
case "$1" in
|
||||
|
|
Loading…
Reference in a new issue