diff options
author | jkim <jkim@FreeBSD.org> | 2010-08-13 21:04:43 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2010-08-13 21:04:43 +0000 |
commit | 1d983f017994ef185ca6a5c724d693151ed67603 (patch) | |
tree | a43634c1f9aa4934d0b01e2b331ca9d4242deb75 | |
parent | 0622ee44e502fcb6534c4d84f1a289fed09a363f (diff) | |
download | FreeBSD-src-1d983f017994ef185ca6a5c724d693151ed67603.zip FreeBSD-src-1d983f017994ef185ca6a5c724d693151ed67603.tar.gz |
Do not fork a subshell unnecessarily.
-rwxr-xr-x | etc/rc.suspend | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.suspend b/etc/rc.suspend index 890e50a..53e44cd 100755 --- a/etc/rc.suspend +++ b/etc/rc.suspend @@ -49,8 +49,8 @@ fast|safe) /bin/rm -f /var/run/rc.suspend.tch ;; *) - ( /sbin/sysctl -n kern.timecounter.hardware=ACPI-fast || \ - /sbin/sysctl -n kern.timecounter.hardware=ACPI-safe ) \ + { /sbin/sysctl -n kern.timecounter.hardware=ACPI-fast || \ + /sbin/sysctl -n kern.timecounter.hardware=ACPI-safe; } \ > /dev/null 2>&1 && echo $_t > /var/run/rc.suspend.tch ;; esac |