aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 0cfcd41..a439408 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -1159,7 +1159,13 @@ string Fluxbox::getDefaultDataFilename(const char *name) const {
1159/// loads resources 1159/// loads resources
1160void Fluxbox::load_rc() { 1160void Fluxbox::load_rc() {
1161 1161
1162 m_resourcemanager.load(getRcFilename(), DEFAULT_INITFILE); 1162 try {
1163 m_resourcemanager.load(getRcFilename(), DEFAULT_INITFILE);
1164 }
1165 catch(std::runtime_error &) {
1166 // This should only happen if system-wide init file is broken.
1167 // Not much we can do about that, so we just ignore it
1168 }
1163 1169
1164 if (m_rc_menufile->empty()) 1170 if (m_rc_menufile->empty())
1165 m_rc_menufile.setDefaultValue(); 1171 m_rc_menufile.setDefaultValue();