diff options
author | 2014-08-24 17:52:38 +0000 | |
---|---|---|
committer | 2014-08-24 17:52:38 +0000 | |
commit | 41dee54736bf136c9a21c465c23440b3417b1a34 (patch) | |
tree | e3daa4e96eeb8badce55f4902360ec23f8e4b23e | |
parent | Fix reversed logic. (diff) | |
download | wireguard-openbsd-41dee54736bf136c9a21c465c23440b3417b1a34.tar.xz wireguard-openbsd-41dee54736bf136c9a21c465c23440b3417b1a34.zip |
Add a comment to unconfuse Ingo :-)
-rw-r--r-- | usr.sbin/rcctl/rcctl.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/rcctl/rcctl.sh b/usr.sbin/rcctl/rcctl.sh index 64511e33bf2..cd172d6083f 100644 --- a/usr.sbin/rcctl/rcctl.sh +++ b/usr.sbin/rcctl/rcctl.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: rcctl.sh,v 1.16 2014/08/24 17:01:44 ajacoutot Exp $ +# $OpenBSD: rcctl.sh,v 1.17 2014/08/24 17:52:38 ajacoutot Exp $ # # Copyright (c) 2014 Antoine Jacoutot <ajacoutot@openbsd.org> # @@ -37,6 +37,7 @@ rcconf_edit_begin() { _TMP_RCCONF=$(mktemp -p /etc -t rc.conf.local.XXXXXXXXXX) || exit 1 if [ -f /etc/rc.conf.local ]; then + # only to keep permissions (file content is not needed) cp -p /etc/rc.conf.local ${_TMP_RCCONF} || exit 1 else touch /etc/rc.conf.local || exit 1 |