Don't use swap file for rvim

This commit is contained in:
Sam A. 2022-07-13 11:12:00 +02:00
parent eb15ef3302
commit f9f9d2ade2
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -21,7 +21,7 @@ doasedit() {
doas -L
doas -u root sh -c \
"cp /etc/doas.conf /tmp/doas.conf \
&& rvim /tmp/doas.conf \
&& rvim -n /tmp/doas.conf \
&& doas -C /tmp/doas.conf \
&& mv /tmp/doas.conf /etc/doas.conf \
&& echo 'ok' \