Changes in uspace/app/bdsh/cmds/builtins/batch/batch.c [582a0b8:1d6dd2a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/builtins/batch/batch.c
r582a0b8 r1d6dd2a 32 32 #include <stddef.h> 33 33 #include <errno.h> 34 #include <str.h> 34 35 #include "config.h" 35 36 #include "util.h" … … 85 86 } 86 87 87 int rc = 0;88 errno_t rc = EOK; 88 89 FILE *batch = fopen(argv[1], "r"); 89 90 if (batch == NULL) { … … 104 105 if (cur == fusr.line) { 105 106 /* skip empty line */ 106 rc = 0;107 rc = EOK; 107 108 free(cur); 108 109 } else {
Note:
See TracChangeset
for help on using the changeset viewer.