info-n -> info_n

This commit is contained in:
Helmut K. C. Tessarek 2019-07-07 20:40:15 -04:00
parent de2a0302f6
commit 1f292a1733
No known key found for this signature in database
GPG Key ID: BE0985349D44DD00
2 changed files with 5 additions and 5 deletions

View File

@ -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

6
jnrmor
View File

@ -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