On Wed, 20 May 2009, J wrote:

On Wed, 20 May 2009, Charlie Brady wrote:
So try:

#!/bin/sh
exec 2>&1 \
exec \
        /usr/local/bin/softlimit -m 100000000 \
...
./run: line 2: exec: exec: not found

Sorry, I cut and pasted without checking each line. You are asking shell to run this:

exec 2>&1 exec /usr/local/bin/softlimit -m 100000000 ...

You want it to do this:

exec 2>&1

and then:

exec /usr/local/bin/softlimit -m 100000000 ...

Reply via email to