diff --git a/sequencer.sh b/sequencer.sh index 674bc6a..0e803a4 100755 --- a/sequencer.sh +++ b/sequencer.sh @@ -866,7 +866,7 @@ addConf() { esac done - local source="${1:?}" + local source="${1:-}" local dest="${2:?}" if [ "${transferCmd}" == "cat" ] && [ ! -f "${source}" ] ; then @@ -905,7 +905,7 @@ addConf() { else "${transferCmd}" "${source}" >> "${dest}" fi - sqr::printf 'ok\n [i] %s' "Existing config saved to ${addConfBackup}" + sqr::printf 'ok\n [i] %s\n' "Existing config saved to ${addConfBackup}" return 0 else sqr::echo "nok"