diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-12-27 21:49:51 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-12-27 21:49:51 -0700 |
commit | 13cdadaf934e6079f7a835cd680cf0ffe89d6ca6 (patch) | |
tree | 2fa037f8fccc9008f86afa08e6a1836bb068e9b5 /sd_daemon | |
parent | f79c2341229def4471bbaf125b8ef19bf49c2b44 (diff) |
Merge sd_daemon/lsb into sd_daemon. BREAKING CHANGE.v0.3.0
Diffstat (limited to 'sd_daemon')
-rw-r--r-- | sd_daemon/exit-status.go (renamed from sd_daemon/lsb/exit-status.go) | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sd_daemon/lsb/exit-status.go b/sd_daemon/exit-status.go index 9004dc3..47c5745 100644 --- a/sd_daemon/lsb/exit-status.go +++ b/sd_daemon/exit-status.go @@ -12,15 +12,11 @@ // See the License for the specific language governing permissions and // limitations under the License. -// Package lsb provides constant exit codes specified by the Linux -// Standard Base. -package lsb +package sd_daemon import ( "fmt" "os" - - "lukeshu.com/git/go/libsystemd.git/sd_daemon" ) // systemd daemon(7) recommends using the exit codes defined in the @@ -88,7 +84,7 @@ const ( // panic. func Recover() { if r := recover(); r != nil { - sd_daemon.Log.Err(fmt.Sprintf("panic: %v", r)) + Log.Err(fmt.Sprintf("panic: %v", r)) os.Exit(int(EXIT_FAILURE)) } } |