starttde: Correct the disposal of the TDE_FULL_SESSION variable

The variable is set and exported.  But previously it was unset before
xprop(1) can remove the property.  This commit corrects or gives the
xprop command the opportunity to remove the property (TDE_FULL_SESSION).

Signed-off-by: Matías Fonzo <selk@dragora.org>
(cherry picked from commit 5f0e42cda7)
r14.0.x
Matías Fonzo 2 years ago committed by Michele Calgaro
parent de50a2eb2a
commit 53432b16bf
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -839,8 +839,7 @@ for prefix in `echo "$exepath" | sed -n -e 's,/bin[^/]*/,/shutdown/,p'`; do
done
done
unset TDE_FULL_SESSION
xprop -root -remove TDE_FULL_SESSION
unset TDE_SESSION_UID
unset TDE_FULL_SESSION TDE_SESSION_UID
echo "[starttde] Trinity shutdown complete." 1>&2

Loading…
Cancel
Save