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