aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/fbsetroot.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/util/fbsetroot.cc b/util/fbsetroot.cc
index 842e183..24d8c50 100644
--- a/util/fbsetroot.cc
+++ b/util/fbsetroot.cc
@@ -419,8 +419,12 @@ int main(int argc, char **argv) {
419 display_name = argv[i]; 419 display_name = argv[i];
420 } 420 }
421 } 421 }
422 422
423 fbsetroot app(argc, argv, display_name); 423 try {
424 424 fbsetroot app(argc, argv, display_name);
425 } catch (std::string error_str) {
426 cerr<<_FB_CONSOLETEXT(Common, Error, "Error", "Error message header")<<": "<<error_str<<endl;
427 }
428
425 return (0); 429 return (0);
426} 430}