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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user