Skip to content

Commit

Permalink
igr-tests: Don't send test logs into system syslog
Browse files Browse the repository at this point in the history
Signed-off-by: Mobin "Hojjat" Aydinfar <[email protected]>
  • Loading branch information
mobin-2008 committed Jul 17, 2023
1 parent 9fa6299 commit 7d491be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/igr-tests/igr_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ fi
# throw an error on failure.
spawn_dinit() {
find_dinit || error "Cannot find dinit exec path." "Specify 'DINIT_BINDIR' and/or ensure dinit is compiled."
"$DINIT" $QUIET -u -d sd -p "$SOCKET" "$@" &
"$DINIT" $QUIET -u -d sd -p "$SOCKET" -l /dev/null "$@" &
DINITPID=$!
# Wait for Dinit socket shows up.
TIMEOUT=0
Expand Down Expand Up @@ -138,7 +138,7 @@ stop_dinit() {
# throw an error on failure.
spawn_dinit_oneshot() {
find_dinit || error "Cannot find dinit exec path." "Specify 'DINIT_BINDIR' and/or ensure dinit is compiled."
"$DINIT" $QUIET -u -d sd -p "$SOCKET" "$@"
"$DINIT" $QUIET -u -d sd -p "$SOCKET" -l /dev/null "$@"
}

# This function find dinitctl and allow access to dinit daemon via dinitctl.
Expand Down

0 comments on commit 7d491be

Please sign in to comment.