mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 03:40:37 +08:00
radicle: Fix file limit setting for FreeBSD
On FreeBSD systems, the file limits are of type `i64` in comparison to `u64` on Linux systems. Also fix `rad web` command name on Windows and FreeBSD. Co-authored-by: cloudhead <cloudhead@radicle.xyz> Co-authored-by: Shawn Webb <shawn.webb@hardenedbsd.org>
This commit is contained in:
committed by
cloudhead
co-authored by
cloudhead
Shawn Webb
parent
e9c5c02106
commit
d4a69b433c
@@ -192,6 +192,8 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
||||
}
|
||||
|
||||
if options.open {
|
||||
#[cfg(any(target_os = "freebsd", target_os = "windows"))]
|
||||
let cmd_name = "echo";
|
||||
#[cfg(target_os = "macos")]
|
||||
let cmd_name = "open";
|
||||
#[cfg(target_os = "linux")]
|
||||
|
||||
Reference in New Issue
Block a user