aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Carlos Santos <casantos@datacom.ind.br>2018-04-15 23:29:39 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-16 07:34:58 +0200
commitc48924cfbbb9b45f819a68dde8098072ab97853e (patch)
tree360bc94dcecaf2707a549c6b7dfa3d1f22119849
parent999d1a690c6dd87c01a5cb16b7dc1562db76698a (diff)
downloadbuildroot-c48924cfbbb9b45f819a68dde8098072ab97853e.tar.gz
buildroot-c48924cfbbb9b45f819a68dde8098072ab97853e.tar.bz2
tinyhttpd: 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>
-rwxr-xr-xpackage/tinyhttpd/S85tinyhttpd1
1 files changed, 0 insertions, 1 deletions
diff --git a/package/tinyhttpd/S85tinyhttpd b/package/tinyhttpd/S85tinyhttpd
index fb512a0375..f3f1de69bf 100755
--- a/package/tinyhttpd/S85tinyhttpd
+++ b/package/tinyhttpd/S85tinyhttpd
@@ -3,7 +3,6 @@
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
NAME=tinyhttpd
-test -x /usr/sbin/$NAME || exit 0
mkdir -p /var/www
case "$1" in