# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# vim: set filetype=sh sw=3 sts=3 expandtab autoindent:
#
# duplicity script for backupninja
# requires duplicity
# --sftp-command ourselves
scpoptions="$sshoptions"
-if [ "$bandwidthlimit" =! 0 ]; then
+if [ "$bandwidthlimit" != 0 ]; then
[ -z "$testurl" ] || warning 'The bandwidthlimit option is not used when desturl is set.'
scpoptions="$scpoptions -l $bandwidthlimit"
fi