diff options
author | simonb <simonb@pkgsrc.org> | 2003-05-19 02:58:19 +0000 |
---|---|---|
committer | simonb <simonb@pkgsrc.org> | 2003-05-19 02:58:19 +0000 |
commit | 01f9bb220175e1231026504d67e00b23a4cc93d3 (patch) | |
tree | 3b0f7275ee09316bd520d67a96d002a66d043b60 /misc/openoffice | |
parent | 288abf964b818fb7358f5c5813a7333e3ae8b15d (diff) | |
download | pkgsrc-01f9bb220175e1231026504d67e00b23a4cc93d3.tar.gz |
Suppress annoying ulimit error by setting open file descriptor limit to
the hard limit and not some arbitary large number.
Diffstat (limited to 'misc/openoffice')
-rwxr-xr-x | misc/openoffice/files/soffice | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/openoffice/files/soffice b/misc/openoffice/files/soffice index 4774e54dc99..3bdfcdb0c24 100755 --- a/misc/openoffice/files/soffice +++ b/misc/openoffice/files/soffice @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: soffice,v 1.1.1.1 2002/02/13 18:10:10 mrauch Exp $ +# $NetBSD: soffice,v 1.2 2003/05/19 02:58:19 simonb Exp $ # SOINST=@@PREFIX@@/OpenOffice.org641 [ "$SOFFICE" = "" ] && SOFFICE=$HOME/OpenOffice.org641 @@ -32,6 +32,6 @@ fi # We've got a large number of shared libraries and other single files which # have to be open for normal operation -ulimit -n 1024 +ulimit -n `ulimit -n -H` exec ${SOFFICE}/soffice $* |