From 01d9b4002ea9b0e0cce4243216c9b03681c15f85 Mon Sep 17 00:00:00 2001 From: Eric Myhre Date: Wed, 21 Oct 2015 10:18:32 -0500 Subject: [PATCH] Remove fatalf function; unused. Signed-off-by: Eric Myhre --- utils.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/utils.go b/utils.go index 151705e6..01cf47d4 100644 --- a/utils.go +++ b/utils.go @@ -135,13 +135,6 @@ func fatal(err error) { os.Exit(1) } -// fatalf formats the errror string with the specified template then exits the -// program with an exit status of 1. -func fatalf(t string, v ...interface{}) { - fmt.Fprintf(os.Stderr, t, v...) - os.Exit(1) -} - // getDefaultID returns a string to be used as the container id based on the // current working directory of the runc process. This function panics // if the cwd is unable to be found based on a system error.