modifying wtmp function to allow only updating certain variables to avoid overlaps, especially with online/offline status during a longer runtime of status-misc.sh

This commit is contained in:
2016-12-26 12:57:20 +01:00
parent 3e0ec4d05a
commit 1984a70b99
3 changed files with 21 additions and 8 deletions

View File

@@ -52,6 +52,7 @@ function check_svn {
TOOL="$TOOL;svn=$SVN_REV"
}
# OUTPUT INFO ON STATUSBAR
check_mailqueue
check_svn
@@ -64,4 +65,4 @@ echo "<tool>$TOOL</tool>"
echo "<img>/usr/share/icons/gnome/16x16/actions/format-justify-fill.png</img>"
echo "<click>xfce4-terminal -x $CURDIR/status-interaction.sh &</click>"
wtmp
wtmp var_mailqueue_runs # write updated values back to status file