(force, shut): Remove useless test of update pending. Commands are
not dispatched while it is true.
This commit is contained in:
parent
a9a4bae239
commit
2d52f976e3
2 changed files with 0 additions and 8 deletions
|
@ -41,10 +41,6 @@ force(void)
|
|||
{
|
||||
int seconds;
|
||||
|
||||
if (update_pending) {
|
||||
pr("Update is pending\n");
|
||||
return RET_FAIL;
|
||||
}
|
||||
if (shutdown_pending) {
|
||||
pr("Shutdown is pending\n");
|
||||
return RET_FAIL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue