Add new stuff

This commit is contained in:
ViktorBarzin 2018-01-22 12:00:02 +00:00
parent a90fc81098
commit de8e2b68e8

View file

@ -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
}