Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/coreutils/env.c

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

revision 1122 by niro, Sun May 30 11:32:42 2010 UTC revision 1123 by niro, Wed Aug 18 21:56:57 2010 UTC
# Line 76  int env_main(int argc UNUSED_PARAM, char Line 76  int env_main(int argc UNUSED_PARAM, char
76   ++argv;   ++argv;
77   }   }
78    
79   if (*argv) {   if (argv[0]) {
80   BB_EXECVP(*argv, argv);   BB_EXECVP_or_die(argv);
  /* SUSv3-mandated exit codes. */  
  xfunc_error_retval = (errno == ENOENT) ? 127 : 126;  
  bb_simple_perror_msg_and_die(*argv);  
81   }   }
82    
83   if (environ) { /* clearenv() may set environ == NULL! */   if (environ) { /* clearenv() may set environ == NULL! */

Legend:
Removed from v.1122  
changed lines
  Added in v.1123