From b99bd7b2c366bbced9013dfd13fdacc86231330a Mon Sep 17 00:00:00 2001 From: Christopher Young Date: Mon, 24 Apr 2017 11:21:25 -0400 Subject: [PATCH] Typo fix. --- main/gen_gdl90.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/gen_gdl90.go b/main/gen_gdl90.go index f6ba2279..4fd6264d 100755 --- a/main/gen_gdl90.go +++ b/main/gen_gdl90.go @@ -1382,8 +1382,8 @@ func main() { globalStatus.HardwareBuild = "FlightBox" debugLogf = debugLog_FB dataLogFilef = dataLogFile_FB - err = os.Stat("/media/logdrive") - err2 := os.Stat("/dev/sda1") + _, err = os.Stat("/media/logdrive") + _, err2 := os.Stat("/dev/sda1") // /media/logdrive and /dev/sda1 need to exist to set the external logfile paths. if !os.IsNotExist(err) && !os.IsNotExist(err2) { debugLogf = debugLog_FB_external