Changeset 3477 in MondoRescue for branches/3.2/mondo/src/mondoarchive/mondoarchive.c
- Timestamp:
- Oct 15, 2015, 4:27:26 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/mondoarchive/mondoarchive.c
r3468 r3477 223 223 if (argc == 4 && !strcmp(argv[1], "getfattr")) { 224 224 g_loglevel = 10; 225 g_text_mode = TRUE;226 225 setup_newt_stuff(); 227 226 if (!strstr(argv[2], "filelist")) { … … 235 234 if (argc == 4 && !strcmp(argv[1], "setfattr")) { 236 235 g_loglevel = 10; 237 g_text_mode = TRUE;238 236 setup_newt_stuff(); 239 237 finish(set_fattr_list(argv[2], argv[3])); … … 242 240 if (argc == 3 && !strcmp(argv[1], "wildcards")) { 243 241 g_loglevel = 10; 244 g_text_mode = TRUE;245 242 setup_newt_stuff(); 246 243 tmp1 = mr_stresc(argv[2], "[]*?", '\\', '\''); … … 252 249 if (argc == 4 && !strcmp(argv[1], "getfacl")) { 253 250 g_loglevel = 10; 254 g_text_mode = TRUE;255 251 setup_newt_stuff(); 256 252 if (!strstr(argv[2], "filelist")) { … … 264 260 if (argc == 4 && !strcmp(argv[1], "setfacl")) { 265 261 g_loglevel = 10; 266 g_text_mode = TRUE;267 262 setup_newt_stuff(); 268 263 finish(set_acl_list(argv[2], argv[3])); … … 270 265 if (argc >= 2 && !strcmp(argv[1], "mkraidtab")) { 271 266 g_loglevel = 10; 272 g_text_mode = TRUE;273 267 setup_newt_stuff(); 274 268 #undef MDSTAT_FILE … … 285 279 if (argc > 2 && !strcmp(argv[1], "find-cd")) { 286 280 g_loglevel = 10; 287 g_text_mode = TRUE;288 281 setup_newt_stuff(); 289 282 malloc_string(tmp); … … 305 298 if (argc > 2 && !strcmp(argv[1], "find-dvd")) { 306 299 g_loglevel = 10; 307 g_text_mode = TRUE;308 300 setup_newt_stuff(); 309 301 malloc_string(tmp); … … 335 327 336 328 /* Process command line, if there is one. If not, ask user for info. */ 337 setup_newt_stuff();329 g_loglevel = 99; 338 330 if (argc == 1) { 339 331 g_text_mode = FALSE; 332 setup_newt_stuff(); 340 333 res = interactively_obtain_media_parameters_from_user(TRUE); /* yes, archiving */ 341 334 if (res) { … … 350 343 finish(1); 351 344 } 345 setup_newt_stuff(); 352 346 } 353 347
Note:
See TracChangeset
for help on using the changeset viewer.