From 520a72078e8554d18a7fc21eb030c8aed6554540 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 13 Mar 2019 14:12:35 -0400 Subject: [PATCH] fix: remove useless cat --- plugins/ps/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ps/functions b/plugins/ps/functions index 1738cf272..f217e6f0d 100755 --- a/plugins/ps/functions +++ b/plugins/ps/functions @@ -19,7 +19,7 @@ print_dokku_scale_file() { declare desc="prints contents of DOKKU_SCALE file" local APP="$1" local DOKKU_SCALE_FILE="$DOKKU_ROOT/$APP/DOKKU_SCALE" - dokku_log_verbose_quiet "DOKKU_SCALE declares scale -> $(cat "$DOKKU_SCALE_FILE" | xargs)" + dokku_log_verbose_quiet "DOKKU_SCALE declares scale -> $(xargs <"$DOKKU_SCALE_FILE")" } extract_procfile() {