aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/chksession
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-01-16 11:20:38 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-01-16 11:22:12 +0100
commit1662a261a3d928e572c7c91bc0d11ce9524a7b01 (patch)
treef090378363ab0e4856ac814678525b30479bc410 /sbin/chksession
parent31cf06e0c31dcafb9863db15c6ca61289e02a3c1 (diff)
downloadcommon-data-1662a261a3d928e572c7c91bc0d11ce9524a7b01.tar
common-data-1662a261a3d928e572c7c91bc0d11ce9524a7b01.tar.gz
common-data-1662a261a3d928e572c7c91bc0d11ce9524a7b01.tar.bz2
common-data-1662a261a3d928e572c7c91bc0d11ce9524a7b01.tar.xz
common-data-1662a261a3d928e572c7c91bc0d11ce9524a7b01.zip
do not show "default"/"failsafe" in session list
when there's at least one session (mga#19234)
Diffstat (limited to 'sbin/chksession')
-rwxr-xr-xsbin/chksession2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/chksession b/sbin/chksession
index 5efa42f..c406fdf 100755
--- a/sbin/chksession
+++ b/sbin/chksession
@@ -110,7 +110,7 @@ if ($xsession) {
if ($list) {
if (@lf) {
- print join(' ', @lf, 'default', 'failsafe'), "\n";
+ print join(' ', @lf), "\n";
} else {
print "default\n";
}