mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* bin/whoami: print /etc/passwd info on --detail
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
d3c234da20
commit
a528890cb5
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
if [ "$1" = "--detail" ]; then
|
||||
whoami
|
||||
grep "^$USER:" /etc/passwd
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue