Subject: -s is ignored when using resizepart for shrinking a partition

From: Casey Fitzpatrick <[email-masked]>
Date: Mon, 4 Aug 2025 16:19:02 -0400

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