diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-27 23:08:15 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-27 23:08:15 +0000 |
commit | fe090bcf530b10b6c4f33b31747ad684c1cbc5af (patch) | |
tree | 784719f8313a39ef51e168aeacdb70be0f6b6370 | |
parent | 448f4696f10c0f2fb75b8ad6230043d3d5e794fa (diff) | |
download | mtk-20170518-fe090bcf530b10b6c4f33b31747ad684c1cbc5af.zip mtk-20170518-fe090bcf530b10b6c4f33b31747ad684c1cbc5af.tar.gz mtk-20170518-fe090bcf530b10b6c4f33b31747ad684c1cbc5af.tar.bz2 |
iwcap: fix reversed umask
SVN-Revision: 30748
-rw-r--r-- | package/iwcap/src/iwcap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/iwcap/src/iwcap.c b/package/iwcap/src/iwcap.c index 3a8e740..a71dca2 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 <jow@openwrt.org> * @@ -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); |