misccoms.c: special return value for shared module
This commit is contained in:
parent
b8f475bea8
commit
3e7722cd58
|
|
@ -101,7 +101,12 @@ com_quit(wordlist *wl)
|
||||||
destroy_const_plot();
|
destroy_const_plot();
|
||||||
spice_destroy_devices();
|
spice_destroy_devices();
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef SHARED_MODULE
|
||||||
|
/* add 1000 to notify that we exit from 'quit' */
|
||||||
|
controlled_exit(1000 + exitcode);
|
||||||
|
#else
|
||||||
exit(exitcode);
|
exit(exitcode);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue