X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8f9292853c339397ba166ce8a28ffd79ce77d5ce..8600b97ee65ecd97461508bf0e67de06707a2e59:/package/iwcap/src/iwcap.c diff --git a/package/iwcap/src/iwcap.c b/package/iwcap/src/iwcap.c index 3a8e7404d..a71dca232 100644 --- a/package/iwcap/src/iwcap.c +++ b/package/iwcap/src/iwcap.c @@ -1,5 +1,5 @@ /* - * iwcap.c - A simply radiotap capture utility outputting pcap sig_dumps + * iwcap.c - A simply radiotap capture utility outputting pcap dumps * * Copyright 2012 Jo-Philipp Wich * @@ -443,7 +443,7 @@ int main(int argc, char **argv) return 8; case 0: - umask(0700); + umask(0077); chdir("/"); freopen("/dev/null", "r", stdin); freopen("/dev/null", "w", stdout);