diff --git a/.bash_aliases b/.bash_aliases index 5e1b258..fa93bab 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -42,7 +42,7 @@ function bye() { then echo 'Rsync is running, not going to sleep.' else - sudo systemctl suspend + /bin/lock && sudo systemctl suspend fi }