]> TLD Linux GIT Repositories - rc-scripts.git/blobdiff - lib/functions
- reTLDize
[rc-scripts.git] / lib / functions
index 04e7f29332e7ee316b75de17381e6c655fb4fea5..fa12b3c9e40291e8d325de03d259e64c6efae063 100644 (file)
@@ -5,11 +5,13 @@
 #
 # Author:      Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
 # Hacked by:   Greg Galloway and Marc Ewing
-# Modified for TLD Linux by:
+# Modified for PLD Linux by:
 #              Marek Obuchowicz <elephant@pld-linux.org>
 #              Arkadiusz Miśkiewicz <misiek@pld-linux.org>
 #              Michał Kochanowicz <mkochano@pld-linux.org>
 #              Łukasz Pawelczyk <havner@pld-linux.org>
+# Modified for TLD Linux by:
+#              Marcin Krol <hawk@tld-linux.org>
 
 # First set up a default search path.
 export PATH="/sbin:/usr/sbin:/bin:/usr/bin"
@@ -577,7 +579,7 @@ run_cmd() {
                cd /
                export HOME=/tmp TMPDIR=/tmp
                if is_no "$RC_LOGGING"; then
-                       ${user:+setuidgid -s $user} "$@" 2>&1
+                       ${user:+setuidgid -s $user} eval "$@" 2>&1
                else
                        ${user:+setuidgid -s $user} initlog -c "$*" 2>&1
                fi