mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Fix shell scripting bug in bug scripts.
This commit is contained in:
@@ -37,6 +37,9 @@ version 2.60
|
|||||||
itself as 100% CPU use. Thanks to Chris Moore for finding
|
itself as 100% CPU use. Thanks to Chris Moore for finding
|
||||||
this.
|
this.
|
||||||
|
|
||||||
|
Fix shell-scripting bug in bld/pkg-wrapper. Thanks to
|
||||||
|
Mark Mitchell for the patch.
|
||||||
|
|
||||||
|
|
||||||
version 2.59
|
version 2.59
|
||||||
Fix regression in 2.58 which caused failure to start up
|
Fix regression in 2.58 which caused failure to start up
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
search=$1
|
search=$1
|
||||||
shift
|
shift
|
||||||
|
|
||||||
if grep "^\#[[:space:]]*define[[:space:]]*$search" config.h 2>&1 >/dev/null || \
|
if grep "^\#[[:space:]]*define[[:space:]]*$search" config.h >/dev/null 2>&1 || \
|
||||||
grep $search 2>&1 >/dev/null ; then
|
grep $search >/dev/null 2>&1; then
|
||||||
exec $*
|
exec $*
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user