Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/debianutils/run_parts.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 124  int run_parts_main(int argc UNUSED_PARAM Line 124  int run_parts_main(int argc UNUSED_PARAM
124   /* We require exactly one argument: the directory name */   /* We require exactly one argument: the directory name */
125   /* We require exactly one argument: the directory name */   /* We require exactly one argument: the directory name */
126   opt_complementary = "=1:a::";   opt_complementary = "=1:a::";
127   getopt32(argv, "ra:u:t"USE_FEATURE_RUN_PARTS_FANCY("l"), &arg_list, &umask_p);   getopt32(argv, "ra:u:t"IF_FEATURE_RUN_PARTS_FANCY("l"), &arg_list, &umask_p);
128    
129   umask(xstrtou_range(umask_p, 8, 0, 07777));   umask(xstrtou_range(umask_p, 8, 0, 07777));
130    
# Line 164  int run_parts_main(int argc UNUSED_PARAM Line 164  int run_parts_main(int argc UNUSED_PARAM
164   continue;   continue;
165   n = 1;   n = 1;
166   if (ret < 0)   if (ret < 0)
167   bb_perror_msg("can't exec %s", name);   bb_perror_msg("can't execute '%s'", name);
168   else /* ret > 0 */   else /* ret > 0 */
169   bb_error_msg("%s exited with code %d", name, ret);   bb_error_msg("%s exited with code %d", name, ret);
170   }   }

Legend:
Removed from v.983  
changed lines
  Added in v.984