Permalink
Browse files

Update cronjob to use the "supported" subcommand

  • Loading branch information...
1 parent 546dd26 commit 0bbe96ddfcab6b717886aaa71a4ade6672779fb7 @oranenj committed Sep 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 debian/apt-btrfs-snapshot.cron.weekly
View
2 debian/apt-btrfs-snapshot.cron.weekly
@@ -9,7 +9,7 @@ fi
# check if its usable, if list returns a non-zero exit code,
# we probably run on a system with no snapshot support
-if ! /usr/bin/apt-btrfs-snapshot list > /dev/null 2>&1; then
+if ! /usr/bin/apt-btrfs-snapshot -q supported ; then
exit 0
fi

0 comments on commit 0bbe96d

Please sign in to comment.