Changeset 1103 in MondoRescue for branches/stable/mondo/src/common/newt-specific.c
- Timestamp:
- Feb 6, 2007, 11:10:01 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/newt-specific.c
r1080 r1103 96 96 g_xmondo_stdout[MAX_NEWT_COMMENT_LEN]; ///< .... @bug Unneeded w/current XMondo. 97 97 bool g_called_by_xmondo = FALSE; ///< @bug Unneeded w/current XMondo. 98 char *g_erase_tmpdir_and_scratchdir ; ///< The command to run to erase the tmpdir and scratchdir at the end of Mondo.99 char *g_selfmounted_isodir ; ///< Holds the NFS mountpoint if mounted via mondoarchive.98 char *g_erase_tmpdir_and_scratchdir = NULL; ///< The command to run to erase the tmpdir and scratchdir at the end of Mondo. 99 char *g_selfmounted_isodir = NULL; ///< Holds the NFS mountpoint if mounted via mondoarchive. 100 100 101 101 /* @} - end of globalGroup */ … … 375 375 */ 376 376 void 377 finish(int signal ) {377 finish(int signal_code) { 378 378 char *command; 379 379 malloc_string(command); 380 380 381 /* if (signal ==0) { popup_and_OK("Please press <enter> to quit."); } */381 /* if (signal_code==0) { popup_and_OK("Please press <enter> to quit."); } */ 382 382 383 383 /* newtPopHelpLine(); */ … … 411 411 // system("clear"); 412 412 // iamhere("Finished calling newtFinished"); 413 printf("Execution run ended; result=%d\n", signal );413 printf("Execution run ended; result=%d\n", signal_code); 414 414 printf("Type 'less %s' to see the output log\n", MONDO_LOGFILE); 415 415 free_libmondo_global_strings(); 416 exit(signal );416 exit(signal_code); 417 417 } 418 418 … … 693 693 void 694 694 popup_and_OK(char *prompt) { 695 charch;695 int ch; 696 696 697 697 assert_string_is_neither_NULL_nor_zerolength(prompt);
Note:
See TracChangeset
for help on using the changeset viewer.