summaryrefslogtreecommitdiff
path: root/windows.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-06-14 04:20:29 -0700
committerJeff Carr <[email protected]>2019-06-14 04:20:29 -0700
commit60671c1308c325ab7dfcc59639d34b9c1fcc9b1b (patch)
tree83b7ebde15a7c44b6e65a68c607e796d1b7d9955 /windows.go
parent437afc794c0a311bd03e464788a5716bf568e71c (diff)
add linux / windows build files
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'windows.go')
-rw-r--r--windows.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/windows.go b/windows.go
new file mode 100644
index 0000000..0bd3aa2
--- /dev/null
+++ b/windows.go
@@ -0,0 +1,18 @@
+// +build windows
+
+// put stuff in here that you only want compiled under windows
+
+package shell
+
+import "log"
+
+// import "git.wit.com/wit/shell"
+// import "github.com/davecgh/go-spew/spew"
+
+func handleSignal(err interface{}, ret int) {
+ log.Println("handleSignal() windows doesn't do signals")
+}
+
+func UseJournalctl() {
+ log.Println("journalctl doesn't exist on windows")
+}