Dennis Rodewyk 5 vuotta sitten
vanhempi
commit
9d14136bf7
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      hugo-encrypt.go

+ 1 - 1
hugo-encrypt.go

@@ -64,7 +64,7 @@ func encryptPage(path string) {
 }
 
 func main() {
-	if os.Args[1] != true {
+	if !(os.Args[1]) {
 		flag.Usage = func() {
 			fmt.Println("Lol")
 		}