Changeset 27997
- Timestamp:
- May 18, 2010, 11:41:57 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.shell/startup.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/startup.c
r16472 r27997 124 124 if (LOAD_RC && !is_script) { 125 125 rcfile = get_variable ("RCFILE"); 126 sprintf (line, "input %s/%s", home, rcfile); 127 status = command (line, &outline, TRUE); 128 if (outline != (char *) NULL) free (outline); 126 if (rcfile && check_file_access (rcfile, FALSE, FALSE, FALSE)) { 127 sprintf (line, "input %s/%s", home, rcfile); 128 status = command (line, &outline, TRUE); 129 if (outline != (char *) NULL) free (outline); 130 if (status) { 131 gprint (GP_LOG, "loaded file %s\n", argv[1]); 132 } 133 } 129 134 if (rcfile) free (rcfile); 130 135 }
Note:
See TracChangeset
for help on using the changeset viewer.
