summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorRobert Peichaer <rpe@cvs.openbsd.org>2015-12-29 19:33:44 +0000
committerRobert Peichaer <rpe@cvs.openbsd.org>2015-12-29 19:33:44 +0000
commit9e0e3e438122aee7982d7e66022b6a5515cfd903 (patch)
treef28c8e2ac29af5797566f1aefe913766ee485c7b /etc
parent8a2222baec1436d2495f2d79b21b6056514c76d7 (diff)
Replace last remaining `` with $()
OK halex@
Diffstat (limited to 'etc')
-rw-r--r--etc/netstart4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/netstart b/etc/netstart
index d12fed5a584..d3424d20d54 100644
--- a/etc/netstart
+++ b/etc/netstart
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: netstart,v 1.165 2015/12/18 08:49:53 ajacoutot Exp $
+# $OpenBSD: netstart,v 1.166 2015/12/29 19:33:43 rpe Exp $
# Turn off Strict Bourne shell mode.
set +o sh
@@ -32,7 +32,7 @@ ifstart() {
return
fi
# Not using stat(1), we can't rely on having /usr yet.
- set -A stat -- `ls -nL $file`
+ set -A stat -- $(ls -nL $file)
if [ "${stat[0]#???????} ${stat[2]} ${stat[3]}" != "--- 0 0" ]; then
echo "WARNING: $file is insecure, fixing permissions"
chmod -LR o-rwx $file