Fix instance of wrong configdir var in WM init code

This commit is contained in:
Salt 2020-06-07 07:13:11 -05:00
parent ecf7365259
commit 1237baa6c3

View File

@ -459,7 +459,7 @@ step_execute() {
} }
step_postexecute() { step_postexecute() {
# Wait for the WM to initialize, if one was found and we have the tools # Wait for the WM to initialize, if one was found and we have the tools
if [ -z "$FS_NOWAITWM" ] && gettarget "$_configdir/wm" && has xprop grep; then if [ -z "$FS_NOWAITWM" ] && gettarget "$_optconfigdir/wm" && has xprop grep; then
log "Waiting for WM to initialize: \"$_return\"" log "Waiting for WM to initialize: \"$_return\""
for (( i=0; i<10; i++ )); do for (( i=0; i<10; i++ )); do
line="$(xprop -root | grep ^_NET_WM_NAME | grep -o '"\S*"$')" line="$(xprop -root | grep ^_NET_WM_NAME | grep -o '"\S*"$')"