Skip to content

Commit 60b60e0

Browse files
committed
Make error mod public
1 parent 8a87c0b commit 60b60e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

daemonize/src/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pub type Errno = libc::c_int;
33
/// This error type for `Daemonize` `start` method.
44
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Clone)]
55
pub struct Error {
6-
kind: ErrorKind,
6+
pub kind: ErrorKind,
77
}
88

99
/// This error type for `Daemonize` `start` method.

daemonize/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ use std::os::unix::io::AsRawFd;
5757
use std::path::{Path, PathBuf};
5858
use std::process::exit;
5959

60-
use self::error::{check_err, errno, ErrorKind};
60+
use self::error::{check_err, errno};
6161

62-
pub use self::error::Error;
62+
pub use self::error::{Error, ErrorKind};
6363

6464
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Clone)]
6565
enum UserImpl {

0 commit comments

Comments
 (0)