diff --git a/bin/rose-mpi-launch b/bin/rose-mpi-launch index 8d967726ef..59b7d5e002 100755 --- a/bin/rose-mpi-launch +++ b/bin/rose-mpi-launch @@ -131,7 +131,7 @@ while (($# > 0)); do err "ROSE_LAUNCHER_ULIMIT_OPTS=$ROSE_LAUNCHER_ULIMIT_OPTS" :;; *) - ulimit -$OPT $OPTARG || err \ + ulimit -$OPT ${OPTARG:-} || err \ "ROSE_LAUNCHER_ULIMIT_OPTS=$ROSE_LAUNCHER_ULIMIT_OPTS" :;; esac diff --git a/t/rose-mpi-launch/01-command-inner.t b/t/rose-mpi-launch/01-command-inner.t index 46f752da9b..974982ced6 100755 --- a/t/rose-mpi-launch/01-command-inner.t +++ b/t/rose-mpi-launch/01-command-inner.t @@ -34,15 +34,18 @@ file_cmp "$TEST_KEY.err" "$TEST_KEY.err"