mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-21 19:41:28 +00:00
fix: no excess slash before disk device name (location)
This commit is contained in:
parent
4866762afc
commit
66f61ce536
|
@ -65,7 +65,7 @@ genUserdata() {
|
|||
local hashed_password diskDeviceName userdata_infect
|
||||
hashed_password="$(mkpasswd -m sha-512 "$USER_PASS")"
|
||||
diskDevice="$(determine2ndDisk)"
|
||||
diskDeviceName="${diskDevice##/dev}"
|
||||
diskDeviceName="${diskDevice##/dev/}"
|
||||
|
||||
userdata_infect=$(cat << EOF
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue