Compare commits

...

2 Commits

Author SHA1 Message Date
60ab5840ba Had to fix btrfs path type 2023-11-24 17:47:10 -06:00
de8c7de945 Added -s flag to curl to silence it 2023-11-18 19:35:41 -06:00
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ LOG_FILE=$LOG_DIR/$DATE.log
LIMIT=5
## Because cron fucks our env, and loading /etc/bashrc doesn't always fix it
alias btrfs='/usr/bin/btrfs'
alias btrfs='/usr/sbin/btrfs'
## The subvols that we want to backup
### <actual-directory>:<name-of-backup-dir>

View File

@ -27,7 +27,7 @@ function log () {
}
function get_remote_version(){
local REMOTE_VERSION=`curl $DOWNLOAD_URL | grep -Eo $VERSION_REGEX | head -n 1`
local REMOTE_VERSION=`curl -s $DOWNLOAD_URL | grep -Eo $VERSION_REGEX | head -n 1`
if [[ "$REMOTE_VERSION" ]]; then
echo "$REMOTE_VERSION"