Follow same pattern as other tasks
This commit is contained in:
parent
bf4b7484f9
commit
7db3476239
1 changed files with 2 additions and 1 deletions
|
@ -50,9 +50,10 @@ namespace :nanoc do
|
||||||
sleep
|
sleep
|
||||||
rescue Interrupt
|
rescue Interrupt
|
||||||
warn "SIGINT: exit"
|
warn "SIGINT: exit"
|
||||||
|
exit
|
||||||
|
ensure
|
||||||
warn "[build] Release lock..."
|
warn "[build] Release lock..."
|
||||||
lockf.release
|
lockf.release
|
||||||
exit
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue