projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
144d1a9
)
net-firewall/ipset: improve init.d save
author
Robin H. Johnson
<robbat2@gentoo.org>
Thu, 30 Nov 2017 20:28:32 +0000
(12:28 -0800)
committer
Robin H. Johnson
<robbat2@gentoo.org>
Thu, 30 Nov 2017 20:35:48 +0000
(12:35 -0800)
Closes: https://bugs.gentoo.org/603376
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Package-Manager: Portage-2.3.16, Repoman-2.3.6
net-firewall/ipset/files/ipset.initd-r4
patch
|
blob
|
history
diff --git
a/net-firewall/ipset/files/ipset.initd-r4
b/net-firewall/ipset/files/ipset.initd-r4
index 08edfcbcf8592d1bd95b5aaecd2caae2b7736f73..32ab581d8c838de2deb461d54e51b360c418c732 100644
(file)
--- a/
net-firewall/ipset/files/ipset.initd-r4
+++ b/
net-firewall/ipset/files/ipset.initd-r4
@@
-88,8
+88,7
@@
reload() {
save() {
ebegin "Saving ipset session"
- touch "${IPSET_SAVE}"
- chmod 0600 "${IPSET_SAVE}"
+ checkpath --file --mode 0600 "${IPSET_SAVE}"
ipset save > "${IPSET_SAVE}"
eend $?
}