info-n -> info_n
This commit is contained in:
parent
de2a0302f6
commit
1f292a1733
4
jnclnst
4
jnclnst
|
|
@ -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
6
jnrmor
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue