Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
Signed-off-by: simonsan <[email protected]>
  • Loading branch information
simonsan committed Mar 16, 2024
1 parent 6639281 commit 92818c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/backend/src/rclone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,11 @@ impl RcloneBackend {
if use_password {
// Check if RCLONE_USER and RCLONE_PASS are already set
if std::env::var("RCLONE_USER").is_ok() || std::env::var("RCLONE_PASS").is_ok() {
warn!("RCLONE_USER or RCLONE_PASS already set, we will overwrite them for this rclone instance.")
warn!("RCLONE_USER or RCLONE_PASS already set, we will overwrite them for this rclone instance.");
// return Err(RcloneErrorKind::RCloneUserOrPassAlreadySet.into());
}

command
_ = command
.env("RCLONE_USER", &user)
.env("RCLONE_PASS", &password);
}
Expand Down

0 comments on commit 92818c4

Please sign in to comment.