Browse Source

misccoms.c: special return value for shared module

pre-master-46
h_vogt 13 years ago
committed by rlar
parent
commit
62324299e1
  1. 5
      src/frontend/misccoms.c

5
src/frontend/misccoms.c

@ -101,7 +101,12 @@ com_quit(wordlist *wl)
destroy_const_plot();
spice_destroy_devices();
#endif
#ifdef SHARED_MODULE
/* add 1000 to notify that we exit from 'quit' */
controlled_exit(1000 + exitcode);
#else
exit(exitcode);
#endif
}

Loading…
Cancel
Save