Skip to content

Commit

Permalink
Make error mod public
Browse files Browse the repository at this point in the history
  • Loading branch information
passy committed Jun 2, 2023
1 parent 8a87c0b commit 60b60e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 60b60e0

Please sign in to comment.