summaryrefslogtreecommitdiffstats
path: root/starttde
diff options
context:
space:
mode:
authorMatías Fonzo <selk@dragora.org>2022-03-01 17:38:11 -0300
committerMatías Fonzo <selk@dragora.org>2022-03-01 17:38:11 -0300
commit5f0e42cda7d478ea73a8a9da0334b1591d14354d (patch)
tree681dbce752a83049f8f2f3f96b323233cf4acbc5 /starttde
parentc10e04ab1f247934f058bc2b60f11a8ef1a3646e (diff)
downloadtdebase-5f0e42cda7d478ea73a8a9da0334b1591d14354d.tar.gz
tdebase-5f0e42cda7d478ea73a8a9da0334b1591d14354d.zip
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>
Diffstat (limited to 'starttde')
-rwxr-xr-xstarttde3
1 files changed, 1 insertions, 2 deletions
diff --git a/starttde b/starttde
index 3037259bf..66360e228 100755
--- a/starttde
+++ b/starttde
@@ -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