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