Use more idiomatic 'fail'

This commit is contained in:
Olivier Perret 2017-10-17 10:31:01 +02:00
parent 5d30d6c6cc
commit 76b45b9302
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
[kakoune](http://kakoune.org) plugin to save files that you do not have write permissions for. Uses `sudo` and preserves file ownership and read-write attributes.
## Install
## Setup
Add `sudo-write.kak` to your autoload dir: `~/.config/kak/autoload/`, or source it manually.

View File

@ -30,7 +30,7 @@ define-command -hidden -params 1 cache-password %{
delete-buffer
} catch %{
delete-buffer
throw
fail
}
}
}