aboutsummaryrefslogtreecommitdiffstats
path: root/drive.go
diff options
context:
space:
mode:
Diffstat (limited to 'drive.go')
-rw-r--r--drive.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/drive.go b/drive.go
index d46cd5c..ffd3bd7 100644
--- a/drive.go
+++ b/drive.go
@@ -78,7 +78,7 @@ func main() {
drive, err := gdrive.New(opts.AppPath, opts.Advanced)
if err != nil {
fmt.Printf("An error occurred creating Drive client: %v\n", err)
- return
+ os.Exit(1)
}
switch opts.Verbs {