Skip to content

Commit 695613a

Browse files
authored
fix(init): replace remaining non-POSIX echo -e with printf (#2115)
1 parent b90c22e commit 695613a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/inside-distrobox/assets/distrobox-init

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ setup_pacman_exceptions()
532532
# This will be removed if we're using --init.
533533
cat << EOF > /usr/share/libalpm/scripts/distrobox_post_hook.sh
534534
#!/bin/sh
535-
echo -e '#!/bin/sh\nexit 0' > /usr/share/libalpm/scripts/systemd-hook;
535+
printf '#!/bin/sh\nexit 0\n' > /usr/share/libalpm/scripts/systemd-hook;
536536
EOF
537537
chmod +x /usr/share/libalpm/scripts/distrobox_post_hook.sh
538538

0 commit comments

Comments
 (0)