diff options
-rwxr-xr-x | share/hydractl/sync-media | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hydractl/sync-media b/share/hydractl/sync-media index defa443..a69932e 100755 --- a/share/hydractl/sync-media +++ b/share/hydractl/sync-media @@ -164,7 +164,8 @@ if echo $OPTIONS | grep -q -- "--dropunused"; then fi # Set drive config -if [ ! -z "$REMOTE" ]; then +# Ingore drive/volume if it's set to "local" +if [ ! -z "$REMOTE" ] && [ "$REMOTE" != "local" ]; then # Check storage media MOUNT="`mount | grep $VOLUME`" if [ ! -z "$MOUNT" ]; then |