diff options
author | jao <jao@gnu.org> | 2020-02-28 04:44:35 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2020-02-28 04:44:35 +0000 |
commit | 6c8ca409eaaaa5f838368c62f34fc88f16cbf32b (patch) | |
tree | b700a4c05b6e654d9b39e4fe280f7b2820ee5a96 /net | |
parent | 63eab2a162b19d40cdd6ebe0529e0aadfb54bd3f (diff) | |
download | elibs-6c8ca409eaaaa5f838368c62f34fc88f16cbf32b.tar.gz elibs-6c8ca409eaaaa5f838368c62f34fc88f16cbf32b.tar.bz2 |
proton utils: fixes for protonvpn ng
Diffstat (limited to 'net')
-rw-r--r-- | net/jao-proton-utils.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/jao-proton-utils.el b/net/jao-proton-utils.el index ca47faa..980a317 100644 --- a/net/jao-proton-utils.el +++ b/net/jao-proton-utils.el @@ -61,8 +61,9 @@ (let ((inhibit-read-only t) (cmd (format "sudo protonvpn %s" things))) (delete-region (point-min) (point-max)) - (insert cmd " ...") - (shell-command cmd b)) + (message "Running: %s ...." cmd) + (shell-command cmd b) + (message "")) (proton-vpn-mode))) (defun proton-vpn-status () @@ -72,7 +73,7 @@ (defun proton-vpn-connect (cc) (interactive "P") (let ((cc (when cc (read-string "Country code: ")))) - (jao-proton-vpn--do (if cc (format "c -cc %s" cc) "c -sc")) + (jao-proton-vpn--do (if cc (format "c --cc %s" cc) "c --sc")) (proton-vpn-status))) (defun proton-vpn-disconnect () |