diff options
author | simonb <simonb> | 2003-05-19 02:58:19 +0000 |
---|---|---|
committer | simonb <simonb> | 2003-05-19 02:58:19 +0000 |
commit | 19be7f0f91a69b844f2302f107fb9d0209316a5d (patch) | |
tree | 3b0f7275ee09316bd520d67a96d002a66d043b60 /misc/openoffice-linux | |
parent | b0d549d03ceae8336f6e105333bbe5e2a4ae8eeb (diff) | |
download | pkgsrc-19be7f0f91a69b844f2302f107fb9d0209316a5d.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-linux')
-rwxr-xr-x | misc/openoffice-linux/files/soffice | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/openoffice-linux/files/soffice b/misc/openoffice-linux/files/soffice index 64c679bc38f..7ddddbfbd49 100755 --- a/misc/openoffice-linux/files/soffice +++ b/misc/openoffice-linux/files/soffice @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: soffice,v 1.3 2003/04/26 15:44:17 mrauch Exp $ +# $NetBSD: soffice,v 1.4 2003/05/19 02:58:19 simonb Exp $ # SOINST=@@PREFIX@@/OpenOffice.org1.0.3 [ "$SOFFICE" = "" ] && SOFFICE=$HOME/OpenOffice.org1.0.3 @@ -43,6 +43,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 "$@" |