[mythtv] mythshutdown --safeshutdown
David Matthews
dm at prolingua.co.uk
Sun Aug 28 12:25:40 UTC 2011
The -x/--safeshutdown argument to mythshutdown doesn't work in git head.
It's just a small typo so it doesn't seem worth creating a ticket for
it but I will do if that would make things easier.
David
--- a/mythtv/programs/mythshutdown/main.cpp
+++ b/mythtv/programs/mythshutdown/main.cpp
@@ -803,7 +803,7 @@ int main(int argc, char **argv)
res = getStatus((bool)(cmdline.toInt("status") == 1));
else if (cmdline.toBool("setwakeup"))
res = setWakeupTime(cmdline.toString("setwakeup"));
- else if (cmdline.toBool("check"))
+ else if (cmdline.toBool("safeshutdown"))
{
res = checkOKShutdown(true);
if (res == 0)
More information about the mythtv-dev
mailing list