Skip to content

Commit

Permalink
Don't hardcode the path
Browse files Browse the repository at this point in the history
  • Loading branch information
aaomidi committed Nov 26, 2024
1 parent 10e6075 commit 65998de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/action/macos/encrypt_apfs_volume.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl EncryptApfsVolume {
command.args(["find-generic-password", "-a"]);
command.arg(&name);
command.arg("-s");
command.arg("Nix Store");
command.arg(&name);
command.arg("-l");
command.arg(format!("{} encryption password", disk.display()));
command.arg("-D");
Expand Down Expand Up @@ -186,7 +186,7 @@ impl Action for EncryptApfsVolume {
"-a",
self.name.as_str(),
"-s",
"Nix Store",
self.name.as_str(),
"-l",
format!("{} encryption password", disk_str).as_str(),
"-D",
Expand Down

0 comments on commit 65998de

Please sign in to comment.