diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-05-18 00:10:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-05-18 00:10:51 +0100 |
commit | eccb70a7f91b2d22582587f26d1a28bb31408b45 (patch) | |
tree | 3223e1fd54201bcf4ebecac6fbe87361cbe643e2 /net-dns/pdnsd/files/pdnsd.online.2 | |
parent | a2810985afabcc31d3eace5e61d8ea25b852ba17 (diff) |
gentoo resync : 18.05.2019
Diffstat (limited to 'net-dns/pdnsd/files/pdnsd.online.2')
-rw-r--r-- | net-dns/pdnsd/files/pdnsd.online.2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net-dns/pdnsd/files/pdnsd.online.2 b/net-dns/pdnsd/files/pdnsd.online.2 index 089f4e76e9cc..be33bfaa03e1 100644 --- a/net-dns/pdnsd/files/pdnsd.online.2 +++ b/net-dns/pdnsd/files/pdnsd.online.2 @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 command="/usr/sbin/pdnsd-ctl" @@ -10,10 +10,10 @@ depend() { wait_for_socket() { local i=0 pdnsd_socket="/var/cache/pdnsd/pdnsd.status" - while [ $i -lt 10 ]; do + while [ ${i} -lt 10 ]; do [ -S "${pdnsd_socket}" ] && return 0 - i=$(($i+1)) - sleep 1s + i=$((${i}+1)) + sleep 1 done return 1 |