summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-11-14 12:59:48 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-11-14 12:59:48 +0000
commit4a64b67d931369cbd87ab19d7c51a6e5c9e5b80b (patch)
tree6b56004df244de4f30aa57570a260de11189231b /libs
parente80ccbfc8b3a572e517cd9932e5f260e41a5dff7 (diff)
change message displayed when there is an open file limit
git-svn-id: svn://localhost/ardour2/branches/3.0@13496 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/globals.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc
index 3895bd76a7..085dfc8e59 100644
--- a/libs/ardour/globals.cc
+++ b/libs/ardour/globals.cc
@@ -204,10 +204,8 @@ lotsa_files_please ()
error << string_compose (_("Could not set system open files limit to %1"), rl.rlim_cur) << endmsg;
}
} else {
- if (rl.rlim_cur == RLIM_INFINITY) {
- info << _("Removed open file count limit. Excellent!") << endmsg;
- } else {
- info << string_compose (_("%1 will be limited to %2 open files"), PROGRAM_NAME, rl.rlim_cur) << endmsg;
+ if (rl.rlim_cur != RLIM_INFINITY) {
+ info << string_compose (_("Your system is configured to limit %1 to only %2 open files"), PROGRAM_NAME, rl.rlim_cur) << endmsg;
}
}
} else {