Skip to content

Commit 353bc41

Browse files
authored
fix(init): Replace remaining non-POSIX echo -e with printf (#2114)
1 parent 34b769e commit 353bc41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)