From 64f06f1b71ec91f60f85f3cf6f7adb85a9892a6f Mon Sep 17 00:00:00 2001 From: ayyansea Date: Wed, 4 Dec 2024 21:35:02 +0300 Subject: fix: remove unused function errExit --- cmd/uptfs/main.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cmd/uptfs/main.go') diff --git a/cmd/uptfs/main.go b/cmd/uptfs/main.go index 5bc1a54..a088b52 100644 --- a/cmd/uptfs/main.go +++ b/cmd/uptfs/main.go @@ -20,11 +20,6 @@ var args struct { Filter []string `arg:"-f,separate" help:"name of a filter that will be applied to text, can be specified multiple times"` } -func errExit(err error) { - fmt.Println(err) - os.Exit(1) -} - func main() { arg.MustParse(&args) -- cgit v1.2.3