From a734927591336cc0ce686fcbcbe19b4cef435a81 Mon Sep 17 00:00:00 2001 From: Daniel Fayette Date: Tue, 9 Feb 2016 19:51:03 -0600 Subject: [PATCH] Fixes gravity_transport variable interpretation. Adding (") around Variables passed to function ensures spaces are handled and that missing arguments are accounted for. --- gravity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity.sh b/gravity.sh index 5097e050..c6fbca53 100755 --- a/gravity.sh +++ b/gravity.sh @@ -186,7 +186,7 @@ function gravity_spinup() { # Default is a simple request *) cmd_ext="" esac - gravity_transport $url $cmd_ext $agent + gravity_transport "$url" "$cmd_ext" "$agent" done }