From 7f8264bf93c7a3d4ab703dd1747f91ceffa2a435 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Sun, 1 Dec 2019 10:27:32 -0500 Subject: [PATCH] samba: Fix restore command Signed-off-by: James Valleroy --- plinth/modules/samba/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/modules/samba/__init__.py b/plinth/modules/samba/__init__.py index de67ed9a1..9e5948512 100644 --- a/plinth/modules/samba/__init__.py +++ b/plinth/modules/samba/__init__.py @@ -151,4 +151,4 @@ def backup_pre(packet): def restore_post(packet): """Restore configuration.""" actions.superuser_run('samba', ['setup']) - actions.superuser_run('samba', ['restore-config']) + actions.superuser_run('samba', ['restore-shares'])