summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbaserock-system-config-sync/baserock-system-config-sync2
1 files changed, 1 insertions, 1 deletions
diff --git a/baserock-system-config-sync/baserock-system-config-sync b/baserock-system-config-sync/baserock-system-config-sync
index b704f59..e768a3a 100755
--- a/baserock-system-config-sync/baserock-system-config-sync
+++ b/baserock-system-config-sync/baserock-system-config-sync
@@ -177,7 +177,7 @@ if [ "$1" = "merge" ]; then
usage "$0"
fi
new_version="$2"
- old_version=$(snapshot-mgr get-running)
+ old_version=$(snapshot-mgr get-default)
mounting_point=$(mktemp -d)
"$mounting_script" "$mounting_point"
if [ ! -d "$mounting_point/systems/$new_version" ]; then