Author: jkim
Date: Fri Aug 13 21:04:43 2010
New Revision: 211289
URL: http://svn.freebsd.org/changeset/base/211289

Log:
  Do not fork a subshell unnecessarily.

Modified:
  head/etc/rc.suspend

Modified: head/etc/rc.suspend
==============================================================================
--- head/etc/rc.suspend Fri Aug 13 20:43:19 2010        (r211288)
+++ head/etc/rc.suspend Fri Aug 13 21:04:43 2010        (r211289)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to