summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-06-16 15:40:48 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-06-16 15:40:48 +0000
commitb8f2b0c75c9102d5e4066d5c9c74b449b2925254 (patch)
tree3791f16555cae0936f325e30beaaa9678bf92fc9 /libs
parent9872083f98b628e92a61dcc2e48b11a2659ba5dc (diff)
don't throw an exception if /home/paul is not writable
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7261 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/globals.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc
index e298c0d635..5b6c3286e1 100644
--- a/libs/ardour/globals.cc
+++ b/libs/ardour/globals.cc
@@ -433,7 +433,9 @@ ARDOUR::get_user_ardour_path ()
/* create it if necessary */
if (g_mkdir_with_parents (path.c_str (), 0755)) {
- throw exception ();
+ cerr << "\n\n\nYour home folder is not writable (Ardour cannot create its settings folder there). Please fix this before running Ardour again."
+ << endl;
+ _exit (1);
}
return path;