Commit b25a80d7 authored by BrLi's avatar BrLi
Browse files add escape character to `sh -c` command line

parent 15685870
......@@ -135,7 +135,7 @@ create_chroot() {
status_start "Setting up /etc/sudoers..."
sudo sh -c "echo ${USER} ALL=(ALL) NOPASSWD:/usr/bin/pacman >> ${chroot_dir}/etc/sudoers"
sudo sh -c "echo ${USER} ALL=\(ALL\) NOPASSWD:/usr/bin/pacman >> ${chroot_dir}/etc/sudoers"
msg "Found user: ${USER}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment