crank: remove user from sbengine execution command
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
This commit is contained in:
parent
f20e127a82
commit
aedd41e822
|
|
@ -2,7 +2,4 @@
|
||||||
|
|
||||||
ENGINE="/usr/share/crank/sbengine"
|
ENGINE="/usr/share/crank/sbengine"
|
||||||
|
|
||||||
USER=$1
|
exec "env LD_LIBRARY_PATH=${ENGINE}/lib SB_PLUGINS=${ENGINE}/plugins ${ENGINE}/bin/sbengine $*"
|
||||||
shift
|
|
||||||
|
|
||||||
exec su -l "${USER}" -c "env LD_LIBRARY_PATH=${ENGINE}/lib SB_PLUGINS=${ENGINE}/plugins ${ENGINE}/bin/sbengine $*"
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue