mirror of
https://github.com/kairos-io/kcrypt.git
synced 2025-08-19 07:47:25 +00:00
Make mkfs call more compatible
This commit is contained in:
parent
ce6ef0573b
commit
4c073ca50c
2
main.go
2
main.go
@ -136,7 +136,7 @@ func luksify(label string) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
out, err := sh(fmt.Sprintf("mkfs.ext4 %s -L %s", devMapper, label))
|
out, err := sh(fmt.Sprintf("mkfs.ext4 -L %s %s", label, devMapper))
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("err: %w, out: %s", err, out)
|
return fmt.Errorf("err: %w, out: %s", err, out)
|
||||||
|
Loading…
Reference in New Issue
Block a user