summaryrefslogtreecommitdiff
path: root/curvetun/nacl_build.sh
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-09-07 17:09:45 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-09-07 17:24:36 +0200
commitf472d90b141d0e9f0c1033012d6d2be1338b7b1f (patch)
treefb42a037b373cb22d68b2d861d672ead2218fea8 /curvetun/nacl_build.sh
parentd5bdc3836a9b8bfc03b9c9ff86d913e0717fd300 (diff)
flowtop: Don't attempt to set sysctl values if initial read fails
Bail out early if we fail to read the current sysctl variable values for net/netfilter/nf_conntrack_acct and net/netfilter/nf_conntrack_timestamp Otherwise we'll not be able restore the previous value on exit/panic. Moreover, if we fail to read the sysctl file, we usually also lack the permissions to write it. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'curvetun/nacl_build.sh')
0 files changed, 0 insertions, 0 deletions