diff --git a/jnclnst b/jnclnst index a089e16..51f133a 100755 --- a/jnclnst +++ b/jnclnst @@ -189,7 +189,7 @@ function info { fi } -function info-n { +function info_n { if [ "$qflag" != "1" ]; then echo -n "$@" fi @@ -279,7 +279,7 @@ do if [ ${VALID[$f]+_} ]; then info "Keeping resource id: $f" else - info-n "Deleting resource id: $f" + info_n "Deleting resource id: $f" if [ "$nflag" == "0" ]; then echo $f >>$DELETE_RESOURCES unlink $f diff --git a/jnrmor b/jnrmor index 5ef22a2..0cd814f 100755 --- a/jnrmor +++ b/jnrmor @@ -163,7 +163,7 @@ function info { fi } -function info-n { +function info_n { if [ "$qflag" != "1" ]; then echo -n "$1" fi @@ -245,7 +245,7 @@ do curlCMD="curl -s -X DELETE http://localhost:${CLIPPER_PORT}/resources/${id}?token=${CLIPPER_TOKEN}" debug "$curlCMD" infotext="Deleting resource id: $id" - info-n "$infotext" + info_n "$infotext" if [ "$nflag" == "0" ]; then # Delete ID rc="" @@ -261,7 +261,7 @@ do echo -n " - $rc" fi else - info-n " - Success" + info_n " - Success" fi fi