Browse Source

Accept any input for the first pause

content-update
xpetit 3 years ago
parent
commit
01a4dbfc96
No known key found for this signature in database
GPG Key ID: 97C60669182C17A5
  1. 3
      sh/debian/ubuntu/system/usr/local/src/format/main.go

3
sh/debian/ubuntu/system/usr/local/src/format/main.go diff.vendored

@ -1,6 +1,7 @@
package main
import (
"bufio"
"encoding/json"
"errors"
"fmt"
@ -97,7 +98,7 @@ func main() {
fmt.Println(" - do not plug/unplug any drive")
fmt.Println(" - make sure the drive is not in use")
fmt.Print("Press ENTER to continue")
fmt.Scanln()
bufio.NewScanner(os.Stdin).Scan()
// Get a list of the block devices
var data struct {

Loading…
Cancel
Save