Ticket #18221: patch-fcrontab.c.diff

File patch-fcrontab.c.diff, 379 bytes (added by compconsultant@…, 15 years ago)

Goes in the files directory

  • fcrontab.c

    old new  
    511511                }
    512512            }
    513513            snprintf(editorcmd, sizeof(editorcmd), "%s %s", cureditor, tmp_str);
     514            chdir("/tmp");
    514515            execlp(shell, shell, "-c", editorcmd, tmp_str, NULL);
    515516            error_e("Error while running \"%s\"", cureditor);
    516517            goto exiterr;