Changeset 1625 in MondoRescue for branches/stable/mondo/src/mondoarchive/mondo-cli.c
- Timestamp:
- Sep 9, 2007, 1:00:49 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/mondoarchive/mondo-cli.c
r1609 r1625 19 19 #include "mr_msg.h" 20 20 #include "mr_gettext.h" 21 #include "mr_conf.h" 21 22 22 23 //static char cvsid[] = "$Id$"; 23 24 24 extern int g_loglevel;25 25 extern bool g_text_mode; 26 26 extern char g_startdir[MAX_STR_LEN]; ///< ????? @bug ????? … … 28 28 extern char g_tmpfs_mountpt[MAX_STR_LEN]; 29 29 extern bool g_sigpipe; 30 31 extern struct mr_ar_conf *mr_conf = NULL; 30 32 31 33 /*@ file pointer **************************************************/ … … 220 222 } 221 223 if (flag_set['K']) { 222 g_loglevel = atoi(flag_val['K']);223 if ( g_loglevel < 3) {224 g_loglevel = 3;224 mr_conf->log_level = atoi(flag_val['K']); 225 if (mr_conf->log_level < 3) { 226 mr_conf->log_level = 3; 225 227 } 226 228 }
Note:
See TracChangeset
for help on using the changeset viewer.