Skip to content

Commit

Permalink
change logFile to LogFile
Browse files Browse the repository at this point in the history
  • Loading branch information
MParvin committed Mar 21, 2024
1 parent 49baf40 commit c22cfe7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ import (
func main() {
HomeDir := os.Getenv("HOME")
tools.CreateDir(HomeDir + "/.run4ever")
logFile := HomeDir + "/.run4ever/run4ever.state"
LogFile := HomeDir + "/.run4ever/run4ever.state"

if _, err := os.Stat(logFile); os.IsNotExist(err) || tools.IsEmpty(logFile) {
tools.WriteHeader(logFile)
if _, err := os.Stat(LogFile); os.IsNotExist(err) || tools.IsEmpty(LogFile) {
tools.WriteHeader(LogFile)
}
c := make(chan os.Signal)
signal.Notify(c, os.Interrupt, syscall.SIGTERM)
Expand Down

0 comments on commit c22cfe7

Please sign in to comment.