From 1d1ecf421501765d345567cf670eb071b0e899de Mon Sep 17 00:00:00 2001 From: ViktorBarzin Date: Mon, 22 Jan 2018 12:00:02 +0000 Subject: [PATCH] Add new stuff --- .bash_aliases | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bash_aliases b/.bash_aliases index d1ba5e7..ee37d2d 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -38,11 +38,11 @@ function download_github_folder() { } function bye() { - if ps -p $(pidof rsync) > /dev/null + if ps -p $(pidof rsync) 2> /dev/null then echo 'Rsync is running, not going to sleep.' else - echo 'systemctl supend' + systemctl suspend fi }