use declare for description variable
This commit is contained in:
1 parent
d8e00f4f8a
commit
987c5cfb9c
111 files changed
+225
-225
No files matched your search
@@ -5,7 +5,7 @@ source "$PLUGIN_AVAILABLE_PATH/config/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/functions"
|
||||
|
||||
nginx_logs_cmd() {
|
||||
local desc="display app nginx logs from command line"
|
||||
declare desc="display app nginx logs from command line"
|
||||
local cmd="$1"
|
||||
[[ -z $2 ]] && echo "Please specify an app to run the command on" && exit 1
|
||||
nginx_logs "$@"
|
||||
|
||||
Reference in new issue
Block a user