summaryrefslogtreecommitdiff
blob: 4dc5fd6b1d929a318ace3d0ad8993be04073e100 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/btrfs-defrag.sh b/btrfs-defrag.sh
index 284abc8..5ced921 100755
--- a/btrfs-defrag.sh
+++ b/btrfs-defrag.sh
@@ -15,6 +15,7 @@ if [ -f /etc/default/btrfsmaintenance ] ; then
 fi
 
 LOGIDENTIFIER='btrfs-defrag'
+. $(dirname $(realpath "$0"))/btrfsmaintenance-functions
 
 {
 OIFS="$IFS"