Skip to content
Snippets Groups Projects
Commit 4ebe1d25 authored by Priyan Sureshbabu's avatar Priyan Sureshbabu
Browse files

Adding quotes to the password variable

parent 98f0b0db
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -35,7 +35,7 @@ add_command 'set-grafana-password', 'Reset admin password for Grafana', 2 do |cm
log "Stopping Grafana for password update"
run_sv_command_for_service('stop', 'grafana')
 
status = GitlabCtl::Util.run_command("/opt/gitlab/embedded/bin/grafana-cli --homepath #{home_dir} admin reset-admin-password #{password}")
status = GitlabCtl::Util.run_command("/opt/gitlab/embedded/bin/grafana-cli --homepath #{home_dir} admin reset-admin-password \"#{password}\"")
 
log "Restarting Grafana."
run_sv_command_for_service('start', 'grafana')
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment