diff --git a/usblocker b/usblocker index 14f1f69..0655a60 100755 Binary files a/usblocker and b/usblocker differ diff --git a/usblocker.go b/usblocker.go index 017ca26..66db611 100644 --- a/usblocker.go +++ b/usblocker.go @@ -116,11 +116,6 @@ func WatcherLocked(lpid *os.Process) { if err != nil { log.Fatal("Error while reading the device file:", err) } - - fmt.Println(passphrase) - fmt.Println() - fmt.Println(string(passtest)) - if length == 1024 && string(passtest) == passphrase { // And finally: UNLOCK! log.Println("Unlocked") @@ -147,8 +142,8 @@ func main() { } switch os.Args[1] { case "run": - case "daemon": - log.Fatal("Not yet implemented. Probably won't be implemented anyway, go doesn't seem to support forking...") + //case "daemon": + // log.Fatal("Not yet implemented. Probably won't be implemented anyway, go doesn't seem to support forking...") case "create": log.Fatal("Not yet implemented.") default: