fix issue with size warning

This commit is contained in:
Nils 2022-01-31 22:34:30 +01:00
parent 36abb0e312
commit 4dfdda9e78
Signed by: byreqz
GPG Key ID: 396A62D7D436749E
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ func main() {
}
fmt.Println("[", color.BlueString("i"), "] Input device/file: " + input, inputmb, inputblock)
fmt.Println("[", color.BlueString("i"), "] Output device/file: " + device, devicemb, targetblock)
if statinput.Size() > statdevice.Size() {
if inputsize > targetsize {
fmt.Println("[", color.RedString("w"), "]", color.RedString(" Warning:"), "Input file seems to be bigger than the destination!")
}
fmt.Print(color.HiWhiteString("Do you want to continue? [y/N]: "))