log_action_begin_msg() { echo -n "$@..." || true } log_action_end_msg() { if [ $1 -eq 0 ]; then echo "done." || true else echo "failed." || true fi }