allow docker-options over ssh. plus test. closes #1135

This commit is contained in:
Michael Hobbs committed 2015-04-24 12:10:02 -07:00
1 parent 3c056527e8
commit 3d2af158ff
2 files changed
+12 -1

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ fi
if [[ -n "$SSH_ORIGINAL_COMMAND" ]]; then
export -n SSH_ORIGINAL_COMMAND
if [[ $1 =~ config-* ]];then
if [[ $1 =~ config-* ]] || [[ $1 =~ docker-options* ]];then
xargs $0 <<<$SSH_ORIGINAL_COMMAND
exit $?
else