From df4ed53693e3102913b70d2a5d56c539eaf83b3b Mon Sep 17 00:00:00 2001 From: localhorst Date: Tue, 18 Aug 2020 22:12:10 +0200 Subject: [PATCH] added shred dummy script --- shred_dummy.sh | 10 ++++++++++ src/reHDD.cpp | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 shred_dummy.sh diff --git a/shred_dummy.sh b/shred_dummy.sh new file mode 100644 index 0000000..0a3eea2 --- /dev/null +++ b/shred_dummy.sh @@ -0,0 +1,10 @@ +#! /bin/bash + +echo "starting SHRED DUMMY" + +for i in {1..101..3} +do + echo "DUMMY shred $i%" +done + +echo "finished SHRED DUMMY" diff --git a/src/reHDD.cpp b/src/reHDD.cpp index b6d03c4..ee4454f 100644 --- a/src/reHDD.cpp +++ b/src/reHDD.cpp @@ -7,7 +7,6 @@ #include "../include/reHDD.h" - static int fdSearchDrives[2];//File descriptor for pipe that informs if new drives are found static int fdWhipe[2];//File descriptor for pipe that informs if a wipe thread signals