Skip to content

Commit

Permalink
Fix the handling of mythshutdown --setwakeup
Browse files Browse the repository at this point in the history
Fixes #9865

Signed-off-by: Gavin Hurlbut <ghurlbut@mythtv.org>
  • Loading branch information
mrrooster authored and Beirdo committed Jun 23, 2011
1 parent 98df691 commit 32ca357
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mythtv/programs/mythshutdown/main.cpp
Expand Up @@ -747,7 +747,6 @@ int main(int argc, char **argv)
bool bStartup = false;
bool bShutdown = false;
bool bGetStatus = false;
bool bSetWakeupTime = false;
QString sWakeupTime = "";
bool bSetScheduledWakeupTime = false;
bool bCheckAndShutdown = false;
Expand Down Expand Up @@ -845,7 +844,7 @@ int main(int argc, char **argv)
res = shutdown();
else if (bGetStatus)
res = getStatus(bWantRecStatus);
else if (bSetWakeupTime)
else if (!sWakeupTime.isEmpty())
res = setWakeupTime(sWakeupTime);
else if (bCheckAndShutdown)
{
Expand Down

0 comments on commit 32ca357

Please sign in to comment.