Skip to content
This repository was archived by the owner on Jan 30, 2024. It is now read-only.

Commit ae02bfd

Browse files
authored
Merge pull request #52 from dkdeploy/feature/output_errors_at_task_maintenance_disable
Output errors at task "maintenance:disable"
2 parents dcc692c + f02f2d6 commit ae02bfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/dkdeploy/tasks/maintenance.rake

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ namespace :maintenance do
5555
next
5656
end
5757
end
58-
execute :rm, '-f', maintenance_config_file_path
58+
execute :rm, maintenance_config_file_path
5959
end
6060
info I18n.t('tasks.maintenance.disabled', mode: 'regular', scope: :dkdeploy)
6161
end
@@ -64,7 +64,7 @@ namespace :maintenance do
6464
desc "Disables the maintenance permanent mode. The 'maintenance:disable' will work in a regular way again."
6565
task :disable_permanent do
6666
on release_roles :app, :web do
67-
execute :rm, '-f', maintenance_config_file_path
67+
execute :rm, maintenance_config_file_path
6868
info I18n.t('tasks.maintenance.disabled', mode: 'permanent', scope: :dkdeploy)
6969
end
7070
end

0 commit comments

Comments
 (0)