aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/main.go b/main.go
index ed5566eb..4a719d85 100644
--- a/main.go
+++ b/main.go
@@ -16,6 +16,13 @@ import (
var Version = "impure"
+func tryVersion() {
+ if printVersion {
+ fmt.Println(Version)
+ os.Exit(0)
+ }
+}
+
var (
ego *user.User
uid int
@@ -42,7 +49,6 @@ const (
func main() {
flag.Parse()
- tryLauncher()
copyArgs()
if u, err := strconv.Atoi(ego.Uid); err != nil {