We don't pass anything on the restore side since we didn't save anything,
but the restore side will expect something if we pass this. Instead, let's
not pass anything.
Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
DECLARE_ARG("--freeze-cgroup");
DECLARE_ARG(log);
- DECLARE_ARG("--ext-mount-map");
- DECLARE_ARG("/dev/console:console");
if (opts->tty_id[0]) {
+ DECLARE_ARG("--ext-mount-map");
+ DECLARE_ARG("/dev/console:console");
+
DECLARE_ARG("--external");
DECLARE_ARG(opts->tty_id);
}