use declare for description variable

This commit is contained in:
Michael Hobbs committed 2016-03-08 15:30:34 -05:00
1 parent d8e00f4f8a
commit 987c5cfb9c
111 files changed
+225 -225

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_AVAILABLE_PATH/domains/functions"
domains_set_global_cmd() {
local desc="set global domain name from command line"
declare desc="set global domain name from command line"
local cmd="domains:set-global"
[[ -z $2 ]] && dokku_log_fail "Please specify a global domain name"
domains_set_global "$2"