When using resizepart with "-s" a warning prompt is still printed when
shrinking a partition. Then the command fails without actually prompting
for Yes/No.

Seen using parted version 3.6:
```
$ sudo parted -s /dev/loop0 unit B resizepart 1 420478975
Warning: Shrinking a partition can cause data loss, are you sure you want
to continue?
$ echo $?
1
```

Reply via email to