[package] iwcap: fix reversed umask
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 27 Feb 2012 23:08:15 +0000 (23:08 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 27 Feb 2012 23:08:15 +0000 (23:08 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30748 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/iwcap/src/iwcap.c

index 3a8e740..a71dca2 100644 (file)
@@ -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);
This page took 0.030609 seconds and 4 git commands to generate.