do not shutdown in record mode

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1336 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9fbfcecc11
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-03-24 (Thu, 24 Mar 2011)



------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2011-03-24 20:47:28 +00:00
parent 7e36ecd311
commit b27765d147

View File

@@ -2899,7 +2899,7 @@ _repeat:
/* shuts down the system even if !g_settings.shutdown_real_rcdelay (see below) */
gettimeofday(&standby_pressed_at, NULL);
if ((mode != mode_standby) && (g_settings.shutdown_real)) {
if ((mode != mode_standby) && (g_settings.shutdown_real) && !recordingstatus) {
new_msg = NeutrinoMessages::SHUTDOWN;
}
else {