1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-26 07:43:45 +01:00

fix: do not fail for partprobe

This commit is contained in:
Thomas Boerger 2022-11-23 14:40:45 +01:00
parent b98e1e5dd7
commit 8977492a48
No known key found for this signature in database
GPG Key ID: 09745AFF9D63C79B
3 changed files with 3 additions and 3 deletions

@ -55,7 +55,7 @@ parted -a opt --script /dev/disk/by-path/pci-0000:02:00.0-nvme-1 \
name 2 system
echo "-----> Reload partition table"
partprobe
partprobe || true
echo "-----> Wait for partitions"
sleep 3

@ -55,7 +55,7 @@ parted -a opt --script /dev/disk/by-path/pci-0000:00:14.1-ata-1 \
name 2 system
echo "-----> Reload partition table"
partprobe
partprobe || true
echo "-----> Wait for partitions"
sleep 3

@ -55,7 +55,7 @@ parted -a opt --script /dev/disk/by-path/pci-0000:00:14.1-ata-1 \
name 2 system
echo "-----> Reload partition table"
partprobe
partprobe || true
echo "-----> Wait for partitions"
sleep 3