gtomb

tomb gtk frontend in zenity
git clone git://parazyd.org/gtomb.git
Log | Files | Refs | README | LICENSE

commit 434c56bad26a82527c15794a2b320312b1f75366
parent 6a1d137079b321fe1ad5ec5f26fbb4253a3538f0
Author: parazyd <parazyd@dyne.org>
Date:   Fri, 18 Dec 2015 18:02:19 +0100

added var to two commands

Diffstat:
Mgtomb | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gtomb b/gtomb @@ -394,8 +394,6 @@ function _dig { # }}} # {{{ forge - Forge a new key - -# Select new key's path, forge the key and create its passphrase. function _forge { keyfile=`_fsave "Choose where to forge your key" "secret.tomb.key"` @@ -561,16 +559,16 @@ function _list { echo -e "$sudoassword\n" | sudo -S -v _sudowrong - sudo tomb close $tombname + sudo $TOMBPATH close $tombname _zeninfo "Success" "Tomb closed successfully!" exec _main ;; - slam) + slam) sudoassword=$(ask_password "Insert sudo password for user $USER") echo -e "$sudoassword\n" | sudo -S -v _sudowrong - sudo tomb slam $tombname + sudo $TOMBPATH slam $tombname _zeninfo "Success" "Tomb slammed successfully!" exec _main ;;