Skip to content

Commit f5bc893

Browse files
committed
Fixes pkgx +curl.se/ca-certs outputing nothing
1 parent e815988 commit f5bc893

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/cli/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
229229
clear_progress_bar();
230230

231231
execve(cmd, args, env)
232-
} else if !env.is_empty() {
232+
} else if !plus.is_empty() {
233233
clear_progress_bar();
234234

235235
if !flags.json {
@@ -258,7 +258,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
258258
println!("{}", json);
259259
}
260260
Ok(())
261-
} else if !flags.version_n_continue && plus.is_empty() {
261+
} else if !flags.version_n_continue {
262262
clear_progress_bar();
263263
eprintln!("{}", help::usage());
264264
std::process::exit(2);

0 commit comments

Comments
 (0)