Script de formatage: ajout exit on err, swapoff /dev/sdb6
This commit is contained in:
@@ -330,6 +330,9 @@ Si tu veux, au lieu d'utiliser `gparted`, tu pourrais le faire en ligne de comma
|
|||||||
``` bash
|
``` bash
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
swapoff /dev/sdb6
|
||||||
declare -i PARTCODE=2
|
declare -i PARTCODE=2
|
||||||
declare DEVICE=/dev/sdb
|
declare DEVICE=/dev/sdb
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user