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