Open EvanKrall opened 8 years ago
The daemon function in redhat's /etc/init.d/functions apparently passes its arguments into a shell:
daemon
# And start it up. if [ -z "$user" ]; then $cgroup $nice /bin/bash -c "$corelimit >/dev/null 2>&1 ; $*" else $cgroup $nice runuser -s /bin/bash $user -c "$corelimit >/dev/null 2>&1 ; $*" fi
Yikes. We should probably be shellquoting twice.
@hashbrowncipher I don't think this one is actually closed by #10
The
daemon
function in redhat's /etc/init.d/functions apparently passes its arguments into a shell:Yikes. We should probably be shellquoting twice.