Skip to content

Commit

Permalink
Adding run as admin error
Browse files Browse the repository at this point in the history
  • Loading branch information
clone1018 committed Feb 25, 2021
1 parent b71d976 commit 441fa6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ func patchFile(filePath string, newService obsService) {
err = os.WriteFile(filePath, whatever, 0644)
if err != nil {
log.Printf("⛔️ Failed to patch file: %s", filePath)
log.Println("⛔️ Please try running the program as an Administrator")
log.Fatal(err)
}

Expand Down

0 comments on commit 441fa6e

Please sign in to comment.