blob: 8b3e5f451b623416a6aa9f218ea6967c848d81c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- gentoo-vdr-scripts-0.2.3/usr/lib/vdr/rcscript/pre-start-10-chuid.sh
+++ gentoo-vdr-scripts-0.2.3/usr/lib/vdr/rcscript/pre-start-10-chuid.sh
@@ -2,14 +2,14 @@
addon_main() {
if [[ "${START_VDR_AS_ROOT}" == "YES" ]]; then
if [[ -n ${CAP_CHUID} ]]; then
- add_param "-u root"
+ add_param "-u" "root"
else
:
# vdr does nothing and stays root
fi
else
if [[ -n ${CAP_CHUID} ]]; then
- add_param "-u vdr"
+ add_param "-u" "vdr"
else
add_daemonctrl_param --chuid vdr
fi
|