Skip to content

Commit ba8aac6

Browse files
committed
Add extra error message in loadup-mid-from-init scripts when ldeinit cannot be found
1 parent a9941b3 commit ba8aac6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/loadup-mid-from-init.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ main() {
1616
EOF
1717

1818
run_medley "${LOADUP_WORKDIR}/init.dlinit" -NF -prog ldeinit --vmem "${LOADUP_WORKDIR}/init-mid.sysout"
19+
if [ "${exit_code}" -eq 54 ]
20+
then
21+
echo "NOTE: The loadup script $0 requires the ldeinit executable"
22+
echo "in addition to the lde executable be available in MAIKODIR."
23+
echo "The ldeinit executable could not be found."
24+
fi
1925

2026
echo " "
2127

0 commit comments

Comments
 (0)