diff --git a/tools/list_templates b/tools/list_templates index a8ee9db9..1fc887b9 100755 --- a/tools/list_templates +++ b/tools/list_templates @@ -38,9 +38,8 @@ if test x${verbose} = xyes; then echo "${res}" fi -# Successful response contains no space -echo "$res" | grep " " && { echo $res && exit 1; } - -tok=`echo "$res" | sed 's/.*"template_id":"\([^"]*\)".*/\1/'` -echo $tok +node <