fixup! Summon: Don't strip newline from machine keys
This commit is contained in:
parent
af54b8ce71
commit
b4af554f65
@ -1,8 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
NAME=$(echo "${@}"|tr : \ )
|
NAME=$(echo "${@}"|tr : \ )
|
||||||
|
|
||||||
if [[ "$NAME" == machine/* ]]; then
|
case "$NAME" in
|
||||||
passage show "${NAME}"
|
machine/*)
|
||||||
else
|
passage show "${NAME}"
|
||||||
passage show "${NAME}" | head -c -1
|
;;
|
||||||
fi
|
*)
|
||||||
|
passage show "${NAME}" | head -c -1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user