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 1dc3105..c7f6ee2 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -1151,7 +1151,13 @@ string Fluxbox::getDefaultDataFilename(const char *name) const {
1151/// loads resources 1151/// loads resources
1152void Fluxbox::load_rc() { 1152void Fluxbox::load_rc() {
1153 1153
1154 m_resourcemanager.load(getRcFilename(), DEFAULT_INITFILE); 1154 try {
1155 m_resourcemanager.load(getRcFilename(), DEFAULT_INITFILE);
1156 }
1157 catch(std::runtime_error &) {
1158 // This should only happen if system-wide init file is broken.
1159 // Not much we can do about that, so we just ignore it
1160 }
1155 1161
1156 if (m_rc_menufile->empty()) 1162 if (m_rc_menufile->empty())
1157 m_rc_menufile.setDefaultValue(); 1163 m_rc_menufile.setDefaultValue();