summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))
}
}