diff --git a/summon-wrapper b/summon-wrapper index 21404b4..2e390b7 100755 --- a/summon-wrapper +++ b/summon-wrapper @@ -1,3 +1,8 @@ #!/bin/sh -passage show $(echo "${@}"|tr : \ ) +NAME=$(echo "${@}"|tr : \ ) +if [[ "$NAME" == machine/* ]]; then + passage show "${NAME}" +else + passage show "${NAME}" | head -c -1 +fi