Changeset 7917 for trunk/Ohana/src/opihi/lib.shell/command.c
- Timestamp:
- Jul 16, 2006, 10:58:49 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.shell/command.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/command.c
r4470 r7917 49 49 char *msg; 50 50 msg = get_variable_ptr ("ERRORMSG"); 51 if (msg != (char *) NULL) fprintf (stderr, "%s\n", msg);51 if (msg != (char *) NULL) gprint (GP_ERR, "%s\n", msg); 52 52 } 53 53 54 54 set_int_variable ("STATUS", status); 55 if (VERBOSE) fprintf (stderr, "command: %s, status: %d\n", line, status);55 if (VERBOSE) gprint (GP_ERR, "command: %s, status: %d\n", line, status); 56 56 return (status); 57 57 }
Note:
See TracChangeset
for help on using the changeset viewer.
