Fixed unary operator expected bug

This commit is contained in:
Sun Knudsen 2021-06-10 21:28:05 -04:00
parent 7054d88a65
commit 329b98b3aa
No known key found for this signature in database
GPG key ID: 1FA767862BBD1305
2 changed files with 14 additions and 14 deletions

View file

@ -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