aboutsummaryrefslogtreecommitdiffstats
path: root/backup-partition.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'backup-partition.rsc')
-rw-r--r--backup-partition.rsc4
1 files changed, 2 insertions, 2 deletions
diff --git a/backup-partition.rsc b/backup-partition.rsc
index 211db0f..34cdc8f 100644
--- a/backup-partition.rsc
+++ b/backup-partition.rsc
@@ -60,10 +60,10 @@
}
:local FallbackToName [ /partitions/get $ActiveRunning fallback-to ];
- :local FallbackTo [ /partition/find where name=$FallbackToName ];
+ :local FallbackTo [ /partition/find where name=$FallbackToName !active ];
:if ([ :len $FallbackTo ] < 1) do={
- $LogPrint error $ScriptName ("There is no partition with name '" . $FallbackToName . "'.");
+ $LogPrint error $ScriptName ("There is no inactive partition named '" . $FallbackToName . "'.");
:set PackagesUpdateBackupFailure true;
:error false;
}