during some experiments, I encountered certain system configurations in which nanoBench fails to execute which is indicated by an error message on stdout/stderr. However, I was calling the nanoBench.sh from another script in which I could not easily observe this failure because the return code of nanoBench.sh is still 0.
Hence, this minor change makes this easy as the nanoBench.sh will just return with non-zero exit code in case nanoBench itself returns with non-zero exit code.
Hello,
during some experiments, I encountered certain system configurations in which nanoBench fails to execute which is indicated by an error message on stdout/stderr. However, I was calling the
nanoBench.sh
from another script in which I could not easily observe this failure because the return code ofnanoBench.sh
is still 0. Hence, this minor change makes this easy as thenanoBench.sh
will just return with non-zero exit code in case nanoBench itself returns with non-zero exit code.