From 41dee54736bf136c9a21c465c23440b3417b1a34 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sun, 24 Aug 2014 17:52:38 +0000 Subject: [PATCH] Add a comment to unconfuse Ingo :-) --- usr.sbin/rcctl/rcctl.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 # @@ -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 -- 2.20.1