diff --git a/src/dissect/dissect.c b/src/dissect/dissect.c index 6a8193f618..10af26888e 100644 --- a/src/dissect/dissect.c +++ b/src/dissect/dissect.c @@ -48,6 +48,7 @@ #include "tmpfile-util.h" #include "uid-alloc-range.h" #include "user-util.h" +#include "vpick.h" static enum { ACTION_DISSECT, @@ -1817,6 +1818,16 @@ static int run(int argc, char *argv[]) { if (r <= 0) return r; + if (arg_image) { + r = path_pick_update_warn( + &arg_image, + &pick_filter_image_raw, + PICK_ARCHITECTURE|PICK_TRIES, + /* ret_result= */ NULL); + if (r < 0) + return r; + } + switch (arg_action) { case ACTION_UMOUNT: return action_umount(arg_path);