From 21ef161e87bbb57c60456546762de5a4c4a54a37 Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Thu, 8 May 2014 14:50:57 +0200 Subject: [PATCH] ajout de "" pour les commandes ssh --- app/zone/nsdc_interface.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/zone/nsdc_interface.pm b/app/zone/nsdc_interface.pm index 0e4fd42..fc57b04 100644 --- a/app/zone/nsdc_interface.pm +++ b/app/zone/nsdc_interface.pm @@ -12,7 +12,7 @@ sub reload_sec { system('ssh -p ' . $self->data->sshportsec . ' ' . $self->data->sshusersec . '@' . $self->data->sshhostsec - . ' sudo nsdc rebuild 2>/dev/null 1>/dev/null && sudo nsdc reload 2>/dev/null 1>/dev/null'); + . ' "sudo nsdc rebuild 2>/dev/null 1>/dev/null && sudo nsdc reload 2>/dev/null 1>/dev/null "'); } sub _reload_conf {