Davide Bertola 2 months ago
parent 76f87f60e1
commit d5e23f59ed

@ -355,9 +355,9 @@ pub fn run(opts: Options) -> Result<()> {
for bytes in [ for bytes in [
"dir /boot 0755 0 0\n".as_bytes(), "dir /boot 0755 0 0\n".as_bytes(),
"file ".as_bytes(), "file ".as_bytes(),
config_path.as_os_str().as_bytes(),
" ".as_bytes(),
destination.as_os_str().as_bytes(), destination.as_os_str().as_bytes(),
" ".as_bytes(),
config_path.as_os_str().as_bytes(),
" 0755 0 0\n".as_bytes(), " 0755 0 0\n".as_bytes(),
] { ] {
stdin.write_all(bytes).expect("write"); stdin.write_all(bytes).expect("write");

Loading…
Cancel
Save