(force, shut): Remove useless test of update pending. Commands are

not dispatched while it is true.
This commit is contained in:
Markus Armbruster 2007-01-19 18:41:05 +00:00
parent a9a4bae239
commit 2d52f976e3
2 changed files with 0 additions and 8 deletions

View file

@ -41,10 +41,6 @@ force(void)
{ {
int seconds; int seconds;
if (update_pending) {
pr("Update is pending\n");
return RET_FAIL;
}
if (shutdown_pending) { if (shutdown_pending) {
pr("Shutdown is pending\n"); pr("Shutdown is pending\n");
return RET_FAIL; return RET_FAIL;

View file

@ -47,10 +47,6 @@ shut(void)
struct natstr *us; struct natstr *us;
char *p; char *p;
if (update_pending) {
pr("Update is pending\n");
return RET_FAIL;
}
shutdown_minutes = shutdown_minutes =
onearg(player->argp[1], onearg(player->argp[1],
"Time until shutdown in minutes (0 to abort shutdown sequence)? "); "Time until shutdown in minutes (0 to abort shutdown sequence)? ");