summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatías Fonzo <selk@dragora.org>2022-03-01 17:38:11 -0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-03-02 21:33:14 +0900
commit53432b16bf4c0dc3c5f3bdeef0f0207759d147c0 (patch)
tree0238494aa0f51e93e7e8d33f9e8c63336e87a72f
parentde50a2eb2a77d2d6108a9114b1129d5c1ffa26d1 (diff)
downloadtdebase-53432b16bf4c0dc3c5f3bdeef0f0207759d147c0.tar.gz
tdebase-53432b16bf4c0dc3c5f3bdeef0f0207759d147c0.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> (cherry picked from commit 5f0e42cda7d478ea73a8a9da0334b1591d14354d)
-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