Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion daemonize/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pub type Errno = libc::c_int;
/// This error type for `Daemonize` `start` method.
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Clone)]
pub struct Error {
kind: ErrorKind,
pub kind: ErrorKind,
}

/// This error type for `Daemonize` `start` method.
Expand Down
4 changes: 2 additions & 2 deletions daemonize/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ use std::os::unix::io::AsRawFd;
use std::path::{Path, PathBuf};
use std::process::exit;

use self::error::{check_err, errno, ErrorKind};
use self::error::{check_err, errno};

pub use self::error::Error;
pub use self::error::{Error, ErrorKind};

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