flatface.go: Fixed: Installing flatpak without '-y' option caused crash
This commit is contained in:
parent
95ac849fba
commit
fbc04729e8
@ -58,7 +58,7 @@ func installPak() {
|
||||
} else if programName == "q" {
|
||||
os.Exit(0)
|
||||
} else {
|
||||
cmd := exec.Command("flatpak", "install", "flathub", programName)
|
||||
cmd := exec.Command("flatpak", "install", "-y", "flathub", programName)
|
||||
out, err := cmd.CombinedOutput()
|
||||
if err != nil {
|
||||
log.Fatalf("cmd.Run() failed with %s\n", err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user