Fixed unary operator expected bug
This commit is contained in:
parent
7054d88a65
commit
329b98b3aa
2 changed files with 14 additions and 14 deletions
|
@ -63,7 +63,7 @@ if [ "$answer" = "y" ]; then
|
|||
printf "%s\n" "Overwriting with random data… (round $round of $rounds)"
|
||||
sudo dd bs=1M if=/dev/urandom of=$dev || true
|
||||
done
|
||||
if [ $zero = true ]; then
|
||||
if [ "$zero" = true ]; then
|
||||
printf "%s\n" "Overwriting with zeros…"
|
||||
sudo dd bs=1M if=/dev/zero of=$dev || true
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue