Modify get_docker_configuration_file_args in order to handle daemon.json better,

and also address missing files issue.

Closes 
Closes 

Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
Thomas Sjögren 2017-03-21 14:49:42 +01:00
commit 91e625b8e4
3 changed files with 23 additions and 19 deletions

View file

@ -92,6 +92,8 @@ get_docker_configuration_file_args() {
else
CONFIG_FILE='/dev/null'
fi
grep "$OPTION" "$CONFIG_FILE" | sed 's/.*: //g' | tr -d \",
}
get_systemd_service_file(){