tadded var to two commands - gtomb - tomb gtk frontend in zenity HTML git clone git://parazyd.org/gtomb.git DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 434c56bad26a82527c15794a2b320312b1f75366 DIR parent 6a1d137079b321fe1ad5ec5f26fbb4253a3538f0 HTML Author: parazyd <parazyd@dyne.org> Date: Fri, 18 Dec 2015 18:02:19 +0100 added var to two commands Diffstat: M gtomb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) --- DIR diff --git a/gtomb b/gtomb t@@ -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"` t@@ -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 ;;