commit a7d7fad6a84ff8a0bc49a7b4595ba8e3cf7e41b9
parent 949a8c19e7360623fc36031decfd5ff28fee5466
Author: Jaromil <jaromil@dyne.org>
Date:   Fri, 14 Nov 2014 19:27:57 +0100
last minor fix to use _plot() instead of is_valid_tomb() on tomb creation commands
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tomb b/tomb
@@ -1291,7 +1291,7 @@ dig_tomb() {
     [[ $tombsize -ge 10 ]] || _failure "Tombs can't be smaller than 10 megabytes"
 
     _check_swap              # Ensure the available memory is safe to use
-    is_valid_tomb $tombpath          # Set TOMB{PATH,DIR,FILE,NAME}
+    _plot $tombpath          # Set TOMB{PATH,DIR,FILE,NAME}
 
     [[ -e $TOMBPATH ]] && {
         _warning "A tomb exists already. I'm not digging here:"
@@ -1430,7 +1430,7 @@ lock_tomb_with_key() {
         return 1
     }
 
-    is_valid_tomb $tombpath
+    _plot $tombpath
 
     _message "Commanded to lock tomb ::1 tomb file::" $TOMBFILE