diff options
author | Jakob Unterwurzacher | 2021-08-09 22:50:24 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-08-09 22:50:24 +0200 |
commit | b67c678b10f3b7cf6c61c7808831876c03467ebf (patch) | |
tree | 059a6b842295ca10b876bc7ea148241212f0591f /mount.go | |
parent | c3c9513e6504276698ed1f50a259d4333476acf8 (diff) |
WIP: switch from go stdlib `flag` to `flaggy`flaggy
Diffstat (limited to 'mount.go')
-rw-r--r-- | mount.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ type AfterUnmounter interface { func doMount(args *argContainer) { // Check mountpoint var err error - args.mountpoint, err = filepath.Abs(flagSet.Arg(1)) + args.mountpoint, err = filepath.Abs(args.mountpoint) if err != nil { tlog.Fatal.Printf("Invalid mountpoint: %v", err) os.Exit(exitcodes.MountPoint) |