mirror of
https://github.com/nivekuil/rip
synced 2024-11-23 04:03:03 +00:00
Fix histfile permissions not being set
This commit is contained in:
parent
be3192161f
commit
01ed2a618d
1 changed files with 1 additions and 1 deletions
|
@ -146,9 +146,9 @@ fn write_log(source: &Path, dest: &Path, graveyard: &Path)
|
|||
let histfile = graveyard.join(HISTFILE);
|
||||
{
|
||||
let mut f = try!(fs::OpenOptions::new()
|
||||
.mode(0o666)
|
||||
.create(true)
|
||||
.append(true)
|
||||
.mode(0o666)
|
||||
.open(histfile));
|
||||
try!(f.write_all(
|
||||
format!("{}\t{}\t{}\n",
|
||||
|
|
Loading…
Reference in a new issue