diff --git a/source/ubl-settings-logging.c b/source/ubl-settings-logging.c index d9df80b..ed0a9aa 100644 --- a/source/ubl-settings-logging.c +++ b/source/ubl-settings-logging.c @@ -1272,28 +1272,18 @@ void on_logrotate_save(GtkWidget *, dictionary *dict){ } sharedscripts = "sharedscripts"; if (!yon_char_is_empty(before_once)) { - before_once = yon_char_replace(before_once,"\"","=--"); - before_once = yon_char_replace(before_once,"=--","\\\""); firstaction = yon_char_append("firstaction,",before_once); } if (!yon_char_is_empty(after_once)) { - after_once = yon_char_replace(after_once,"\"","=--"); - after_once = yon_char_replace(after_once,"=--","\\\""); lastaction = yon_char_append("lastaction,",after_once); } if (!yon_char_is_empty(before)) { - before = yon_char_replace(before,"\"","=--"); - before = yon_char_replace(before,"=--","\\\""); prerotate = yon_char_append("prerotate,",before); } if (!yon_char_is_empty(after)) { - after = yon_char_replace(after,"\"","=--"); - after = yon_char_replace(after,"=--","\\\""); postrotate = yon_char_append("postrotate,",after); } if (!yon_char_is_empty(endwork)){ - endwork = yon_char_replace(endwork,"\"","=--"); - endwork = yon_char_replace(endwork,"=--","\\\""); preremove = yon_char_append("preremove,",endwork); } if (!yon_char_is_empty(firstaction)||!yon_char_is_empty(after_once)||!yon_char_is_empty(before)||!yon_char_is_empty(after))