[171] | 1 | /*
|
---|
| 2 | * $Id: main.c 262 2005-12-23 16:25:52Z bcornec $
|
---|
[1] | 3 | * *
|
---|
| 4 | * This program is free software; you can redistribute it and/or modify *
|
---|
| 5 | * it under the terms of the GNU General Public License as published by *
|
---|
| 6 | * the Free Software Foundation; either version 2 of the License, or *
|
---|
| 7 | * (at your option) any later version. *
|
---|
| 8 | * *
|
---|
[171] | 9 | ***************************************************************************
|
---|
[1] | 10 | * The main file for mondoarchive.
|
---|
| 11 | */
|
---|
| 12 |
|
---|
| 13 | /************************* #include statements *************************/
|
---|
[142] | 14 | #ifndef S_SPLINT_S
|
---|
[1] | 15 | #include <pthread.h>
|
---|
[142] | 16 | #endif
|
---|
[1] | 17 | #include <stdio.h>
|
---|
| 18 | #include <stdlib.h>
|
---|
| 19 | #include "../common/my-stuff.h"
|
---|
| 20 | #include "../common/mondostructures.h"
|
---|
| 21 | #include "../common/libmondo.h"
|
---|
| 22 | #include "mondo-cli-EXT.h"
|
---|
| 23 |
|
---|
| 24 | // for CVS
|
---|
[59] | 25 | //static char cvsid[] = "$Id: main.c 262 2005-12-23 16:25:52Z bcornec $";
|
---|
[1] | 26 |
|
---|
| 27 | /************************* external variables *************************/
|
---|
| 28 | extern void set_signals(int);
|
---|
| 29 | extern int g_current_media_number;
|
---|
[59] | 30 | extern void register_pid(pid_t, char *);
|
---|
[1] | 31 | extern int g_currentY;
|
---|
| 32 | extern bool g_text_mode;
|
---|
| 33 | extern bool g_remount_cdrom_at_end, g_remount_floppy_at_end;
|
---|
| 34 | extern char *g_mondo_home;
|
---|
| 35 | extern char *g_tmpfs_mountpt;
|
---|
| 36 | extern char *g_erase_tmpdir_and_scratchdir;
|
---|
| 37 | extern double g_kernel_version;
|
---|
| 38 |
|
---|
| 39 | /***************** global vars, used only by main.c ******************/
|
---|
| 40 | bool g_skip_floppies;
|
---|
| 41 | long diffs;
|
---|
| 42 |
|
---|
| 43 | extern t_bkptype g_backup_media_type;
|
---|
| 44 | extern int g_loglevel;
|
---|
| 45 |
|
---|
| 46 | /****************** subroutines used only by main.c ******************/
|
---|
| 47 |
|
---|
| 48 |
|
---|
| 49 | /**
|
---|
| 50 | * Print a "don't panic" message to the log and a message about the logfile to the screen.
|
---|
| 51 | */
|
---|
| 52 | void welcome_to_mondoarchive()
|
---|
| 53 | {
|
---|
[59] | 54 | log_msg(0, "Mondo Archive v%s --- http://www.mondorescue.org",
|
---|
[252] | 55 | PACKAGE_VERSION);
|
---|
[59] | 56 | log_msg(0, "running on %s architecture", get_architecture());
|
---|
| 57 | log_msg(0,
|
---|
| 58 | "-----------------------------------------------------------");
|
---|
| 59 | log_msg(0,
|
---|
| 60 | "NB: Mondo logs almost everything, so don't panic if you see");
|
---|
| 61 | log_msg(0,
|
---|
| 62 | "some error messages. Please read them carefully before you");
|
---|
| 63 | log_msg(0,
|
---|
| 64 | "decide to break out in a cold sweat. Despite (or perhaps");
|
---|
| 65 | log_msg(0,
|
---|
| 66 | "because of) the wealth of messages. some users are inclined");
|
---|
| 67 | log_msg(0,
|
---|
| 68 | "to stop reading this log. If Mondo stopped for some reason,");
|
---|
| 69 | log_msg(0,
|
---|
| 70 | "chances are it's detailed here. More than likely there's a");
|
---|
| 71 | log_msg(0,
|
---|
| 72 | "message at the very end of this log that will tell you what");
|
---|
| 73 | log_msg(0,
|
---|
| 74 | "is wrong. Please read it! -Devteam");
|
---|
| 75 | log_msg(0,
|
---|
| 76 | "-----------------------------------------------------------");
|
---|
[1] | 77 |
|
---|
[59] | 78 | log_msg(0, "Zero...");
|
---|
| 79 | log_msg(1, "One...");
|
---|
| 80 | log_msg(2, "Two...");
|
---|
| 81 | log_msg(3, "Three...");
|
---|
| 82 | log_msg(4, "Four...");
|
---|
| 83 | log_msg(5, "Five...");
|
---|
| 84 | log_msg(6, "Six...");
|
---|
| 85 | log_msg(7, "Seven...");
|
---|
| 86 | log_msg(8, "Eight...");
|
---|
| 87 | printf("See %s for details of backup run.\n", MONDO_LOGFILE);
|
---|
[1] | 88 | }
|
---|
| 89 |
|
---|
| 90 |
|
---|
| 91 | extern char *g_magicdev_command;
|
---|
| 92 |
|
---|
| 93 | /**
|
---|
| 94 | * Do whatever is necessary to insure a successful backup on the Linux distribution
|
---|
| 95 | * of the day.
|
---|
| 96 | */
|
---|
| 97 | void distro_specific_kludges_at_start_of_mondoarchive()
|
---|
| 98 | {
|
---|
[59] | 99 | log_msg(2, "Unmounting old ramdisks if necessary");
|
---|
| 100 | stop_magicdev_if_necessary(); // for RH+Gnome users
|
---|
| 101 | run_program_and_log_output
|
---|
| 102 | ("umount `mount | grep shm | grep mondo | cut -d' ' -f3`", 2);
|
---|
| 103 | unmount_supermounts_if_necessary(); // for Mandrake users whose CD-ROMs are supermounted
|
---|
| 104 | mount_boot_if_necessary(); // for Gentoo users with non-mounted /boot partitions
|
---|
| 105 | clean_up_KDE_desktop_if_necessary(); // delete various misc ~/.* files that get in the way
|
---|
[1] | 106 | }
|
---|
| 107 |
|
---|
| 108 |
|
---|
| 109 | /**
|
---|
| 110 | * Undo whatever was done by distro_specific_kludges_at_start_of_mondoarchive().
|
---|
| 111 | */
|
---|
| 112 | void distro_specific_kludges_at_end_of_mondoarchive()
|
---|
| 113 | {
|
---|
[59] | 114 | log_msg(2, "Restarting magicdev if necessary");
|
---|
| 115 | sync();
|
---|
| 116 | restart_magicdev_if_necessary(); // for RH+Gnome users
|
---|
[1] | 117 |
|
---|
[59] | 118 | log_msg(2, "Restarting supermounts if necessary");
|
---|
| 119 | sync();
|
---|
| 120 | remount_supermounts_if_necessary(); // for Mandrake users
|
---|
[1] | 121 |
|
---|
[59] | 122 | log_msg(2, "Unmounting /boot if necessary");
|
---|
| 123 | sync();
|
---|
| 124 | unmount_boot_if_necessary(); // for Gentoo users
|
---|
[1] | 125 | }
|
---|
| 126 |
|
---|
| 127 |
|
---|
| 128 | /**
|
---|
| 129 | * Backup/verify the user's data.
|
---|
| 130 | * What did you think it did, anyway? :-)
|
---|
| 131 | */
|
---|
[59] | 132 | int main(int argc, char *argv[])
|
---|
[1] | 133 | {
|
---|
[59] | 134 | struct s_bkpinfo *bkpinfo;
|
---|
| 135 | char *tmp;
|
---|
[171] | 136 | int res = 0;
|
---|
| 137 | int retval = 0;
|
---|
| 138 | char *say_at_end = NULL;
|
---|
[1] | 139 |
|
---|
| 140 | /* Make sure I'm root; abort if not */
|
---|
[59] | 141 | if (getuid() != 0) {
|
---|
| 142 | fprintf(stderr, "Please run as root.\r\n");
|
---|
| 143 | exit(127);
|
---|
| 144 | }
|
---|
[1] | 145 |
|
---|
| 146 | /* If -V, -v or --version then echo version no. and quit */
|
---|
[59] | 147 | if (argc == 2
|
---|
| 148 | && (!strcmp(argv[argc - 1], "-v") || !strcmp(argv[argc - 1], "-V")
|
---|
| 149 | || !strcmp(argv[argc - 1], "--version"))) {
|
---|
[252] | 150 | printf("mondoarchive v%s\nSee man page for help\n", PACKAGE_VERSION);
|
---|
[59] | 151 | exit(0);
|
---|
| 152 | }
|
---|
[1] | 153 |
|
---|
| 154 | /* Initialize variables */
|
---|
| 155 |
|
---|
[59] | 156 | malloc_libmondo_global_strings();
|
---|
[1] | 157 |
|
---|
[59] | 158 | diffs = 0;
|
---|
| 159 | unlink("/var/log/partimagehack-debug.log");
|
---|
| 160 | printf("Initializing...\n");
|
---|
| 161 | if (!(bkpinfo = malloc(sizeof(struct s_bkpinfo)))) {
|
---|
| 162 | fatal_error("Cannot malloc bkpinfo");
|
---|
| 163 | }
|
---|
[1] | 164 |
|
---|
| 165 |
|
---|
| 166 | /* make sure PATH environmental variable allows access to mkfs, fdisk, etc. */
|
---|
[171] | 167 | asprintf(&tmp, "/sbin:/usr/sbin:%s:/usr/local/sbin", getenv("PATH"));
|
---|
[59] | 168 | setenv("PATH", tmp, 1);
|
---|
[171] | 169 | paranoid_free(tmp);
|
---|
[1] | 170 |
|
---|
| 171 | /* Add the ARCH environment variable for ia64 purposes */
|
---|
[171] | 172 | setenv("ARCH", get_architecture(), 1);
|
---|
[1] | 173 |
|
---|
[262] | 174 | /* Add MONDO_LIB environment variable for mindi */
|
---|
| 175 | setenv_mondo_lib();
|
---|
| 176 |
|
---|
[59] | 177 | unlink(MONDO_LOGFILE);
|
---|
[1] | 178 |
|
---|
| 179 | /* Configure the bkpinfo structure, global file paths, etc. */
|
---|
[59] | 180 | g_main_pid = getpid();
|
---|
| 181 | log_msg(9, "This");
|
---|
[1] | 182 |
|
---|
[59] | 183 | register_pid(g_main_pid, "mondo");
|
---|
| 184 | set_signals(TRUE); // catch SIGTERM, etc.
|
---|
[94] | 185 | run_program_and_log_output("date", 1);
|
---|
[59] | 186 | run_program_and_log_output("dmesg -n1", TRUE);
|
---|
[1] | 187 |
|
---|
[59] | 188 | log_msg(9, "Next");
|
---|
| 189 | welcome_to_mondoarchive();
|
---|
| 190 | distro_specific_kludges_at_start_of_mondoarchive();
|
---|
[87] | 191 | // BERLIOS : too early, bkpinfo is not initialized ??
|
---|
| 192 | //sprintf(g_erase_tmpdir_and_scratchdir, "rm -Rf %s %s", bkpinfo->tmpdir, bkpinfo->scratchdir);
|
---|
[59] | 193 | g_kernel_version = get_kernel_version();
|
---|
[1] | 194 |
|
---|
[59] | 195 | if (argc == 4 && !strcmp(argv[1], "getfattr")) {
|
---|
| 196 | g_loglevel = 10;
|
---|
| 197 | g_text_mode = TRUE;
|
---|
| 198 | setup_newt_stuff();
|
---|
| 199 | if (!strstr(argv[2], "filelist")) {
|
---|
| 200 | printf("Sorry - filelist goes first\n");
|
---|
| 201 | finish(1);
|
---|
| 202 | } else {
|
---|
| 203 | finish(get_fattr_list(argv[2], argv[3]));
|
---|
| 204 | }
|
---|
| 205 | finish(0);
|
---|
[1] | 206 | }
|
---|
[59] | 207 | if (argc == 4 && !strcmp(argv[1], "setfattr")) {
|
---|
| 208 | g_loglevel = 10;
|
---|
| 209 | g_text_mode = TRUE;
|
---|
| 210 | setup_newt_stuff();
|
---|
| 211 | finish(set_fattr_list(argv[2], argv[3]));
|
---|
[1] | 212 | }
|
---|
[59] | 213 |
|
---|
| 214 | if (argc == 3 && !strcmp(argv[1], "wildcards")) {
|
---|
| 215 | g_loglevel = 10;
|
---|
| 216 | g_text_mode = TRUE;
|
---|
| 217 | setup_newt_stuff();
|
---|
| 218 | turn_wildcard_chars_into_literal_chars(tmp, argv[2]);
|
---|
| 219 | printf("in=%s; out=%s\n", argv[2], tmp);
|
---|
[171] | 220 | paranoid_free(tmp);
|
---|
[59] | 221 | finish(1);
|
---|
[1] | 222 | }
|
---|
[59] | 223 |
|
---|
| 224 | if (argc == 4 && !strcmp(argv[1], "getfacl")) {
|
---|
| 225 | g_loglevel = 10;
|
---|
| 226 | g_text_mode = TRUE;
|
---|
| 227 | setup_newt_stuff();
|
---|
| 228 | if (!strstr(argv[2], "filelist")) {
|
---|
| 229 | printf("Sorry - filelist goes first\n");
|
---|
| 230 | finish(1);
|
---|
| 231 | } else {
|
---|
| 232 | finish(get_acl_list(argv[2], argv[3]));
|
---|
| 233 | }
|
---|
| 234 | finish(0);
|
---|
| 235 | }
|
---|
| 236 | if (argc == 4 && !strcmp(argv[1], "setfacl")) {
|
---|
| 237 | g_loglevel = 10;
|
---|
| 238 | g_text_mode = TRUE;
|
---|
| 239 | setup_newt_stuff();
|
---|
| 240 | finish(set_acl_list(argv[2], argv[3]));
|
---|
| 241 | }
|
---|
[1] | 242 |
|
---|
[59] | 243 | if (argc > 2 && !strcmp(argv[1], "find-cd")) {
|
---|
| 244 | g_loglevel = 10;
|
---|
| 245 | g_text_mode = TRUE;
|
---|
| 246 | setup_newt_stuff();
|
---|
[171] | 247 | if ((tmp = find_cdrw_device()) == NULL) {
|
---|
[59] | 248 | printf("Failed to find CDR-RW drive\n");
|
---|
| 249 | } else {
|
---|
| 250 | printf("CD-RW is at %s\n", tmp);
|
---|
| 251 | }
|
---|
[171] | 252 | paranoid_free(tmp);
|
---|
| 253 |
|
---|
| 254 | if ((tmp = find_cdrom_device(FALSE)) == NULL) {
|
---|
[59] | 255 | printf("Failed to find CD-ROM drive\n");
|
---|
| 256 | } else {
|
---|
| 257 | printf("CD-ROM is at %s\n", tmp);
|
---|
| 258 | }
|
---|
[171] | 259 | paranoid_free(tmp);
|
---|
[59] | 260 | finish(0);
|
---|
| 261 | }
|
---|
[1] | 262 |
|
---|
[59] | 263 | if (argc > 2 && !strcmp(argv[1], "find-dvd")) {
|
---|
| 264 | g_loglevel = 10;
|
---|
| 265 | g_text_mode = TRUE;
|
---|
| 266 | setup_newt_stuff();
|
---|
[171] | 267 | if ((tmp = find_dvd_device()) == NULL) {
|
---|
[59] | 268 | printf("Failed to find DVD drive\n");
|
---|
| 269 | } else {
|
---|
| 270 | printf("DVD is at %s\n", tmp);
|
---|
| 271 | }
|
---|
[171] | 272 | paranoid_free(tmp);
|
---|
[59] | 273 | finish(0);
|
---|
| 274 | }
|
---|
[1] | 275 |
|
---|
[59] | 276 | if (argc > 2 && !strcmp(argv[1], "disksize")) {
|
---|
| 277 | printf("%s --> %ld\n", argv[2], get_phys_size_of_drive(argv[2]));
|
---|
| 278 | finish(0);
|
---|
| 279 | }
|
---|
| 280 | if (argc > 2 && !strcmp(argv[1], "test-dev")) {
|
---|
| 281 | if (is_dev_an_NTFS_dev(argv[2])) {
|
---|
| 282 | printf("%s is indeed an NTFS dev\n", argv[2]);
|
---|
| 283 | } else {
|
---|
| 284 | printf("%s is _not_ an NTFS dev\n", argv[2]);
|
---|
| 285 | }
|
---|
| 286 | finish(0);
|
---|
| 287 | }
|
---|
| 288 |
|
---|
| 289 | if (pre_param_configuration(bkpinfo)) {
|
---|
| 290 | fatal_error
|
---|
| 291 | ("Pre-param initialization phase failed. Please review the error messages above, make the specified changes, then try again. Exiting...");
|
---|
| 292 | }
|
---|
| 293 |
|
---|
[1] | 294 | /* Process command line, if there is one. If not, ask user for info. */
|
---|
[59] | 295 | if (argc == 1) {
|
---|
| 296 | g_text_mode = FALSE;
|
---|
| 297 | setup_newt_stuff();
|
---|
| 298 | res = interactively_obtain_media_parameters_from_user(bkpinfo, TRUE); /* yes, archiving */
|
---|
| 299 | if (res) {
|
---|
| 300 | fatal_error
|
---|
| 301 | ("Syntax error. Please review the parameters you have supplied and try again.");
|
---|
| 302 | }
|
---|
| 303 | } else {
|
---|
| 304 | res = handle_incoming_parameters(argc, argv, bkpinfo);
|
---|
| 305 | if (res) {
|
---|
| 306 | printf
|
---|
| 307 | ("Errors were detected in the command line you supplied.\n");
|
---|
| 308 | printf("Please review the log file - " MONDO_LOGFILE "\n");
|
---|
| 309 | log_msg(1, "Mondoarchive will now exit.");
|
---|
| 310 | finish(1);
|
---|
| 311 | }
|
---|
| 312 | setup_newt_stuff();
|
---|
[1] | 313 | }
|
---|
| 314 |
|
---|
| 315 | /* Finish configuring global structures */
|
---|
[59] | 316 | if (post_param_configuration(bkpinfo)) {
|
---|
| 317 | fatal_error
|
---|
| 318 | ("Post-param initialization phase failed. Perhaps bad parameters were supplied to mondoarchive? Please review the documentation, error messages and logs. Exiting...");
|
---|
| 319 | }
|
---|
[1] | 320 |
|
---|
[59] | 321 | log_to_screen
|
---|
| 322 | ("BusyBox's sources are available from http://www.busybox.net");
|
---|
[1] | 323 |
|
---|
[59] | 324 | /* If we're meant to backup then backup */
|
---|
| 325 | if (bkpinfo->backup_data) {
|
---|
| 326 | res = backup_data(bkpinfo);
|
---|
| 327 | retval += res;
|
---|
| 328 | if (res) {
|
---|
[171] | 329 | asprintf(&say_at_end,
|
---|
[59] | 330 | "Data archived. Please check the logs, just as a precaution. ");
|
---|
| 331 | } else {
|
---|
[171] | 332 | asprintf(&say_at_end, "Data archived OK. ");
|
---|
[59] | 333 | }
|
---|
| 334 | }
|
---|
[1] | 335 |
|
---|
| 336 | /* If we're meant to verify then verify */
|
---|
[59] | 337 | if (bkpinfo->verify_data) {
|
---|
| 338 | res = verify_data(bkpinfo);
|
---|
| 339 | if (res < 0) {
|
---|
[171] | 340 | asprintf(&say_at_end, "%d difference%c found.", -res,
|
---|
[59] | 341 | (-res != 1) ? 's' : ' ');
|
---|
| 342 | res = 0;
|
---|
| 343 | }
|
---|
| 344 | retval += res;
|
---|
| 345 | }
|
---|
[1] | 346 |
|
---|
[171] | 347 | /* Offer to write floppy disk images to physical disks */
|
---|
[59] | 348 | if (bkpinfo->backup_data && !g_skip_floppies) {
|
---|
| 349 | res = offer_to_write_boot_floppies_to_physical_disks(bkpinfo);
|
---|
| 350 | retval += res;
|
---|
| 351 | }
|
---|
[1] | 352 |
|
---|
[171] | 353 | /* Report result of entire operation (success? errors?) */
|
---|
| 354 | if (retval == 0) {
|
---|
[59] | 355 | mvaddstr_and_log_it(g_currentY++, 0,
|
---|
| 356 | "Backup and/or verify ran to completion. Everything appears to be fine.");
|
---|
| 357 | } else {
|
---|
| 358 | mvaddstr_and_log_it(g_currentY++, 0,
|
---|
| 359 | "Backup and/or verify ran to completion. However, errors did occur.");
|
---|
| 360 | }
|
---|
[1] | 361 |
|
---|
[59] | 362 | if (does_file_exist("/root/images/mindi/mondorescue.iso")) {
|
---|
| 363 | log_to_screen
|
---|
| 364 | ("/root/images/mindi/mondorescue.iso, a boot/utility CD, is available if you want it.");
|
---|
| 365 | }
|
---|
[1] | 366 |
|
---|
| 367 |
|
---|
[59] | 368 | if (length_of_file("/tmp/changed.files") > 2) {
|
---|
| 369 | if (g_text_mode) {
|
---|
| 370 | log_to_screen
|
---|
| 371 | ("Type 'less /tmp/changed.files' to see which files don't match the archives");
|
---|
| 372 | } else {
|
---|
| 373 | log_msg(1,
|
---|
| 374 | "Type 'less /tmp/changed.files' to see which files don't match the archives");
|
---|
| 375 | log_msg(2, "Calling popup_changelist_from_file()");
|
---|
| 376 | popup_changelist_from_file("/tmp/changed.files");
|
---|
| 377 | log_msg(2, "Returned from popup_changelist_from_file()");
|
---|
| 378 | }
|
---|
| 379 | } else {
|
---|
| 380 | unlink("/tmp/changed.files");
|
---|
| 381 | }
|
---|
| 382 | log_to_screen(say_at_end);
|
---|
[171] | 383 | paranoid_free(say_at_end);
|
---|
| 384 |
|
---|
| 385 | asprintf(&tmp, "umount %s/tmpfs", bkpinfo->tmpdir);
|
---|
[59] | 386 | run_program_and_log_output(tmp, TRUE);
|
---|
[171] | 387 | paranoid_free(tmp);
|
---|
| 388 |
|
---|
| 389 | sprintf(g_erase_tmpdir_and_scratchdir, "rm -Rf %s %s", bkpinfo->tmpdir,
|
---|
| 390 | bkpinfo->scratchdir);
|
---|
[59] | 391 | run_program_and_log_output(g_erase_tmpdir_and_scratchdir, TRUE);
|
---|
[1] | 392 |
|
---|
[59] | 393 | run_program_and_log_output("mount", 2);
|
---|
[1] | 394 |
|
---|
[59] | 395 | system("rm -f /var/cache/mondo-archive/last-backup.aborted");
|
---|
| 396 | system("rm -Rf /tmp.mondo.* /mondo.scratch.*");
|
---|
[171] | 397 | if (retval == 0) {
|
---|
[59] | 398 | printf("Mondoarchive ran OK.\n");
|
---|
| 399 | } else {
|
---|
| 400 | printf("Errors occurred during backup. Please check logfile.\n");
|
---|
| 401 | }
|
---|
| 402 | distro_specific_kludges_at_end_of_mondoarchive();
|
---|
| 403 | register_pid(0, "mondo");
|
---|
| 404 | set_signals(FALSE);
|
---|
| 405 | chdir("/tmp"); // just in case there's something wrong with g_erase_tmpdir_and_scratchdir
|
---|
| 406 | system(g_erase_tmpdir_and_scratchdir);
|
---|
| 407 | free_libmondo_global_strings();
|
---|
| 408 | paranoid_free(bkpinfo);
|
---|
[1] | 409 |
|
---|
[59] | 410 | unlink("/tmp/filelist.full");
|
---|
| 411 | unlink("/tmp/filelist.full.gz");
|
---|
[1] | 412 |
|
---|
[94] | 413 | run_program_and_log_output("date", 1);
|
---|
| 414 |
|
---|
[59] | 415 | if (!g_text_mode) {
|
---|
| 416 | popup_and_OK
|
---|
| 417 | ("Mondo Archive has finished its run. Please press ENTER to return to the shell prompt.");
|
---|
| 418 | log_to_screen("See %s for details of backup run.", MONDO_LOGFILE);
|
---|
| 419 | finish(retval);
|
---|
| 420 | } else {
|
---|
| 421 | printf("See %s for details of backup run.\n", MONDO_LOGFILE);
|
---|
| 422 | exit(retval);
|
---|
| 423 | }
|
---|
| 424 |
|
---|
| 425 | return EXIT_SUCCESS;
|
---|
[1] | 426 | }
|
---|