Fix another

This commit is contained in:
Salt 2020-06-07 07:13:33 -05:00
parent 1237baa6c3
commit 4a77a6c835

View File

@ -494,7 +494,7 @@ step_postexecute() {
step_wait() {
[ -n "$_optdryrun" ] && exit 0
trap step_logout EXIT
if [ -n "$FS_DIEONWM" ] && gettarget "$_configdir/wm" && has readlink "$_return"; then
if [ -n "$FS_DIEONWM" ] && gettarget "$_optconfigdir/wm" && has readlink "$_return"; then
target="$(command -v "$_return")"
for job in $(jobs -p); do
if [ "$target" = "$(readlink /proc/$job/exe)" ]; then