mirror of git://bitreich.org/reed-alert
Check if file exists when using the launcher
This commit is contained in:
parent
95b8e54fae
commit
121e59664b
|
@ -32,6 +32,12 @@ then
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "$1" ]
|
||||||
|
then
|
||||||
|
echo "$1 not found"
|
||||||
|
exit 3
|
||||||
|
fi
|
||||||
|
|
||||||
# prevent interpreter output when loading files
|
# prevent interpreter output when loading files
|
||||||
$LISP $PARAMS --eval \
|
$LISP $PARAMS --eval \
|
||||||
"(let ((*standard-output* (make-broadcast-stream)))
|
"(let ((*standard-output* (make-broadcast-stream)))
|
||||||
|
|
Loading…
Reference in New Issue