From 080ac737fe4799ffeae1783cd6b827a35be5c410 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Tue, 7 May 2024 02:19:19 +0200 Subject: [PATCH] Some infos update --- mtm-ddwipe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mtm-ddwipe b/mtm-ddwipe index c0bd7e2..f349a28 100755 --- a/mtm-ddwipe +++ b/mtm-ddwipe @@ -1,7 +1,7 @@ #!/bin/bash declare -r DEV="${1}" -declare STARTDATE="$(date)" +declare STARTDATE="" show_help() { echo "ddwipe dev (/dev/sdX)" @@ -37,6 +37,7 @@ confirm_wipe() { } wipe_dev() { + STARTDATE="$(date)" echo "Begin wiping device ${1}" echo "" echo "Start date :"