summaryrefslogtreecommitdiffstats
path: root/src/lib/ip
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2014-05-27 12:05:12 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2014-06-17 12:59:41 +0200
commit105fba4593f02fccb85909ea3bc30ed8c426908d (patch)
treee3c6358a30dd68bd798f8b84571ab8a6f00526f5 /src/lib/ip
parent223942f36b1a071bcca39d1e0adb615f9440db1f (diff)
downloadnetctl-105fba4593f02fccb85909ea3bc30ed8c426908d.tar.gz
netctl-105fba4593f02fccb85909ea3bc30ed8c426908d.tar.xz
Escape hatch for the restrictive umask
Some things should not be run with the restrictive umask. This provides a means to do so: do_readable.
Diffstat (limited to 'src/lib/ip')
-rw-r--r--src/lib/ip2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ip b/src/lib/ip
index e737fc5..66aab56 100644
--- a/src/lib/ip
+++ b/src/lib/ip
@@ -27,7 +27,7 @@ dhcp_call() {
resolvconf_add() {
local interface="$1"
shift
- printf "%s\n" "$@" | resolvconf -a "$interface"
+ printf "%s\n" "$@" | do_readable resolvconf -a "$interface"
}