Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix the handling of mythshutdown --setwakeup

Fixes #9865

Signed-off-by: Gavin Hurlbut <ghurlbut@mythtv.org>
  • Loading branch information...
commit 32ca3573346ef1e0f5f0d07f0b71cab4049ade88 1 parent 98df691
@mrrooster mrrooster authored Beirdo committed
Showing with 1 addition and 2 deletions.
  1. +1 −2  mythtv/programs/mythshutdown/main.cpp
View
3  mythtv/programs/mythshutdown/main.cpp
@@ -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;
@@ -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)
{
Please sign in to comment.
Something went wrong with that request. Please try again.