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 fi
} }
function info-n { function info_n {
if [ "$qflag" != "1" ]; then if [ "$qflag" != "1" ]; then
echo -n "$@" echo -n "$@"
fi fi
@ -279,7 +279,7 @@ do
if [ ${VALID[$f]+_} ]; then if [ ${VALID[$f]+_} ]; then
info "Keeping resource id: $f" info "Keeping resource id: $f"
else else
info-n "Deleting resource id: $f" info_n "Deleting resource id: $f"
if [ "$nflag" == "0" ]; then if [ "$nflag" == "0" ]; then
echo $f >>$DELETE_RESOURCES echo $f >>$DELETE_RESOURCES
unlink $f unlink $f

6
jnrmor
View File

@ -163,7 +163,7 @@ function info {
fi fi
} }
function info-n { function info_n {
if [ "$qflag" != "1" ]; then if [ "$qflag" != "1" ]; then
echo -n "$1" echo -n "$1"
fi fi
@ -245,7 +245,7 @@ do
curlCMD="curl -s -X DELETE http://localhost:${CLIPPER_PORT}/resources/${id}?token=${CLIPPER_TOKEN}" curlCMD="curl -s -X DELETE http://localhost:${CLIPPER_PORT}/resources/${id}?token=${CLIPPER_TOKEN}"
debug "$curlCMD" debug "$curlCMD"
infotext="Deleting resource id: $id" infotext="Deleting resource id: $id"
info-n "$infotext" info_n "$infotext"
if [ "$nflag" == "0" ]; then if [ "$nflag" == "0" ]; then
# Delete ID # Delete ID
rc="" rc=""
@ -261,7 +261,7 @@ do
echo -n " - $rc" echo -n " - $rc"
fi fi
else else
info-n " - Success" info_n " - Success"
fi fi
fi fi