Fix incorrect order of commands

This commit is contained in:
Manuel Thalmann 2023-07-10 00:03:05 +02:00
parent 857afbe5ab
commit e6484b0195

View file

@ -56,13 +56,13 @@ else
mkwinpeimg --iso --arch amd64 --overlay "$overlayDir" --windows-dir "$mountPath" "$isoFile";
sudo umount "$mountPath";
sudo shred -vfzn 0 -s 1G "$WIN_DISK";
if [ ! -b "$WIN_DISK" ]
then
chooseDisk WIN_DISK;
fi;
sudo shred -vfzn 0 -s 1G "$WIN_DISK";
{
echo "o";