diff options
Diffstat (limited to 'toru-path')
-rwxr-xr-x | toru-path | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2,6 +2,11 @@ source $(dirname $(command -v $0))/toru-utils +if [ ! -w "$TORUPATH" ]; then + error "Toru's path isn't writable. Please check $TORUPATH" + exit 1 +fi + LASTSYNCFILE=${TORUPATH}/lastsync.paths # TODO pass other paths via flags |