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 | f9a7a43e5562b8632eaeec38bea74e0352bbd4ad (patch) | |
tree | a5079d0e99a126ea86af668291d30a2866eba07d /package/iwcap/src | |
parent | 8a406d18352e62f5f9de4785b3db2b2cb22162b5 (diff) | |
download | upstream-f9a7a43e5562b8632eaeec38bea74e0352bbd4ad.tar.gz upstream-f9a7a43e5562b8632eaeec38bea74e0352bbd4ad.tar.bz2 upstream-f9a7a43e5562b8632eaeec38bea74e0352bbd4ad.zip |
[package] iwcap: fix reversed umask
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30748 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iwcap/src')
-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 3a8e7404da..a71dca2320 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); |