Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions case-lib/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,10 @@ func_lib_restore_pulseaudio()
fi
done
# start pulseaudio
local cmd="" user="" line=""
local line
for line in "${PULSECMD_LST[@]}"
do
user=${line%% *}
cmd=${line#* }
nohup sudo -u "$user" "$cmd" >/dev/null &
nohup sudo -u $line >/dev/null &
done
# now wait for the pulseaudio restore in the ps process
timeout=10
Expand Down