From: Simon Ruderich Date: Fri, 5 Jul 2013 11:11:26 +0000 (+0200) Subject: shell/logout: Minor cleanup. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=89e25159665041e5454367380483002c3aa34363 shell/logout: Minor cleanup. --- diff --git a/shell/logout b/shell/logout index 4c5eb30..a5e1bbc 100644 --- a/shell/logout +++ b/shell/logout @@ -1,6 +1,6 @@ # Shell logout file usable by all shells. -# Copyright (C) 2011-2012 Simon Ruderich +# Copyright (C) 2011-2013 Simon Ruderich # # This file is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -19,13 +19,13 @@ # When leaving the console clear the screen to increase privacy. Taken from # Debian default bash files and modified. Thanks. -if [ -x /usr/bin/clear_console ]; then +if test -x /usr/bin/clear_console; then /usr/bin/clear_console -q else clear fi # Make sure sudo rights are removed. -sudo -k > /dev/null 2>&1 +sudo -k >/dev/null 2>&1 # vim: ft=sh