summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorCástor Muñoz <cmvidal@gmail.com>2016-01-09 02:41:17 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2016-01-17 19:16:53 +0100
commit610b80b9ca3a5d4eb0d17ccfcf29118c291cf6be (patch)
tree4b887433d95349ee12097e8021e4d13756745348 /rbutil
parent0992092a0f3e120ec3fdf911a808cfe8ef93b877 (diff)
downloadrockbox-610b80b9ca3a5d4eb0d17ccfcf29118c291cf6be.tar.gz
rockbox-610b80b9ca3a5d4eb0d17ccfcf29118c291cf6be.tar.bz2
rockbox-610b80b9ca3a5d4eb0d17ccfcf29118c291cf6be.zip
rbutil: fix writing to rbutil.log after bootloader uninstall
Change-Id: I722d4d5a83fc57bd8df33bfb23a0ab16e5ac4861
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index a1b31e7e5a..aec7d273c4 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -545,6 +545,8 @@ void RbUtilQt::uninstallBootloader(void)
+ blfile.at(a));
}
bl->setBlFile(blfilepath);
+ bl->setLogfile(RbSettings::value(RbSettings::Mountpoint).toString()
+ + "/.rockbox/rbutil.log");
BootloaderInstallBase::BootloaderType currentbl = bl->installed();
if((bl->capabilities() & BootloaderInstallBase::Uninstall) == 0) {