From: Jo-Philipp Wich Date: Mon, 27 Feb 2012 23:08:15 +0000 (+0000) Subject: [package] iwcap: fix reversed umask X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=edeccc097256df1ab56ba020bfc3b81fe23ad5a2;p=openwrt%2Fsvn-archive%2Farchive.git [package] iwcap: fix reversed umask SVN-Revision: 30748 --- 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 * @@ -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);