aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2024-07-14 18:23:03 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-20 08:09:02 +0700
commitab1f140d3bfc6bc12122c4c02e7bdf3376cbd9d7 (patch)
treebcad284669654c4eea3b0623cb6d127fd621a42e /network
parente8eb4328d3680941c9afe2f476c156183e28a5ca (diff)
network/unbound: Replaced backtick cmdsub
Signed-off-by: Robby Workman <rworkman@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/unbound/rc.unbound4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/unbound/rc.unbound b/network/unbound/rc.unbound
index 3c31faf4efc41..96e9b9db253c7 100644
--- a/network/unbound/rc.unbound
+++ b/network/unbound/rc.unbound
@@ -106,7 +106,7 @@ stop() {
return
fi
echo "Stopping Unbound..."
- kill `cat $PIDFILE`
+ kill $(cat $PIDFILE)
rm -f $PIDFILE
}
@@ -116,7 +116,7 @@ reload() {
return
fi
echo "Sending SIGHUP to Unbound..."
- kill -HUP `cat $PIDFILE`
+ kill -HUP $(cat $PIDFILE)
}
case "$1" in