Skip to content

Commit 9d5c444

Browse files
committed
update set declaration on non-Windows
1 parent 831188a commit 9d5c444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sshdconfig/src/set.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ fn set_default_shell(shell: Option<String>, cmd_option: Option<String>, escape_a
6969
}
7070

7171
#[cfg(not(windows))]
72-
pub fn set_default_shell() -> Result<(), SshdConfigError> {
72+
pub fn set_default_shell(shell: Option<String>, cmd_option: Option<String>, escape_arguments: Option<bool>, shell_arguments: Option<Vec<String>>) -> Result<(), SshdConfigError> {
7373
Err(SshdConfigError::InvalidInput("Windows registry operations not applicable to this platform".to_string()))
7474
}
7575

0 commit comments

Comments
 (0)