Fix incorrect order of commands
This commit is contained in:
parent
857afbe5ab
commit
e6484b0195
1 changed files with 2 additions and 2 deletions
|
@ -56,13 +56,13 @@ else
|
||||||
mkwinpeimg --iso --arch amd64 --overlay "$overlayDir" --windows-dir "$mountPath" "$isoFile";
|
mkwinpeimg --iso --arch amd64 --overlay "$overlayDir" --windows-dir "$mountPath" "$isoFile";
|
||||||
sudo umount "$mountPath";
|
sudo umount "$mountPath";
|
||||||
|
|
||||||
sudo shred -vfzn 0 -s 1G "$WIN_DISK";
|
|
||||||
|
|
||||||
if [ ! -b "$WIN_DISK" ]
|
if [ ! -b "$WIN_DISK" ]
|
||||||
then
|
then
|
||||||
chooseDisk WIN_DISK;
|
chooseDisk WIN_DISK;
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
sudo shred -vfzn 0 -s 1G "$WIN_DISK";
|
||||||
|
|
||||||
{
|
{
|
||||||
echo "o";
|
echo "o";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue