From 797737710f8b5d85f339aaee9410d35ea85b9665 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 15 Nov 2017 21:44:14 +0100 Subject: [PATCH] Cosmetics: hostfile and machinefile are synonyms. --- src/smpi/smpirun.in | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index 7a33dc2797..5f6c9d3924 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -147,14 +147,7 @@ while true; do fi shift 2 ;; - "-hostfile") - HOSTFILE="$2" - if [ ! -f "${HOSTFILE}" ]; then - die "the file '${HOSTFILE}' does not exist" - fi - shift 2 - ;; - "-machinefile") + "-hostfile" | "-machinefile") HOSTFILE="$2" if [ ! -f "${HOSTFILE}" ]; then die "the file '${HOSTFILE}' does not exist" -- 2.20.1