fix: no excess slash before disk device name (location)
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
4866762afc
commit
66f61ce536
|
@ -65,7 +65,7 @@ genUserdata() {
|
||||||
local hashed_password diskDeviceName userdata_infect
|
local hashed_password diskDeviceName userdata_infect
|
||||||
hashed_password="$(mkpasswd -m sha-512 "$USER_PASS")"
|
hashed_password="$(mkpasswd -m sha-512 "$USER_PASS")"
|
||||||
diskDevice="$(determine2ndDisk)"
|
diskDevice="$(determine2ndDisk)"
|
||||||
diskDeviceName="${diskDevice##/dev}"
|
diskDeviceName="${diskDevice##/dev/}"
|
||||||
|
|
||||||
userdata_infect=$(cat << EOF
|
userdata_infect=$(cat << EOF
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue