Ticket #124: scheduler.diff
File scheduler.diff, 1.0 KB (added by , 19 years ago) |
---|
-
scheduler.cpp
1185 1185 .arg(idleTimeoutSecs); 1186 1186 VERBOSE(VB_ALL, msg); 1187 1187 } 1188 else if (itime % 10 == 0)1188 else if (itime % 60 == 0) 1189 1189 { 1190 1190 msg = QString("%1 secs left to system " 1191 1191 "shutdown!") … … 1216 1216 if (!preSDWUCheckCommand.isEmpty()) 1217 1217 { 1218 1218 state = myth_system(preSDWUCheckCommand.ascii()); 1219 1220 if ( WIFEXITED(state) && state != -1)1219 1220 if (GENERIC_EXIT_NOT_OK != state) 1221 1221 { 1222 1222 retval = false; 1223 switch( WEXITSTATUS(state))1223 switch(state) 1224 1224 { 1225 1225 case 0: 1226 1226 retval = true;