diff options
Diffstat (limited to 'loader.pl')
-rw-r--r-- | loader.pl | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2,7 +2,10 @@ start(Args) :- catch((load_module_from_file('/sys/lib/prolog/repl.pl'), ReplLoaded = true), E, (print_exception(E), ReplLoaded = false)), - ( ReplLoaded = true-> repl:repl(Args) ). + !, + ( ReplLoaded = true + -> repl:repl(Args) + ). print_exception(E) :- write('Caught exception while loading /sys/lib/prolog/repl.pl: '), |