V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 40s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 40s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -49,9 +49,9 @@ partitioning() {
|
||||
for var_dev in "${ary_devs[@]}"; do
|
||||
|
||||
### All current data for the respective device will be deleted.
|
||||
if ! blkdiscard "/dev/${var_dev}"; then
|
||||
if ! blkdiscard -f "/dev/${var_dev}"; then
|
||||
|
||||
do_log "warn" "file_only" "3200() Partition table: '/dev/${var_dev}' deletion failed with: 'blkdiscard' trying 'sgdisk' fallback."
|
||||
do_log "warn" "file_only" "3200() Partition table: '/dev/${var_dev}' deletion failed with: 'blkdiscard -f' trying 'sgdisk' fallback."
|
||||
|
||||
if command -v sgdisk >/dev/null && sgdisk --zap-all "/dev/${var_dev}"; then
|
||||
|
||||
|
||||
Reference in New Issue
Block a user