From ea847425be921e714e1067803933de7b432a766b Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 14 Aug 2022 19:45:41 +0200 Subject: fix --- .local/bin/dmlog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.local') diff --git a/.local/bin/dmlog b/.local/bin/dmlog index e110980..3d6ccc1 100755 --- a/.local/bin/dmlog +++ b/.local/bin/dmlog @@ -73,7 +73,7 @@ sub action } elsif ($var eq ${+LIST}[2]) { if (confirm($var) == 1) { - system(EMACS_PATH, '-e', '(save-buffers-kill-terminal)'); + system(EMACS_PATH, '-e', '"(save-buffers-kill-terminal)"'); if (OS eq 'Linux') { exec(LOGINCTL_PATH, 'terminate-session', 'self'); } @@ -82,7 +82,7 @@ sub action } elsif ($var eq ${+LIST}[3]) { if (confirm($var) == 1) { - system(EMACS_PATH, '-e', '(save-buffers-kill-terminal)'); + system(EMACS_PATH, '-e', '"(save-buffers-kill-terminal)"'); if (OS eq 'Linux') { exec(LOGINCTL_PATH, 'reboot'); } @@ -91,7 +91,7 @@ sub action } elsif ($var eq ${+LIST}[4]) { if (confirm($var) == 1) { - system(EMACS_PATH, '-e', '(save-buffers-kill-terminal)'); + system(EMACS_PATH, '-e', '"(save-buffers-kill-terminal)"'); system( NOTIF_PATH, '-u', -- cgit v1.2.3