Skip to content

Commit

Permalink
Fixed a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SebiWrn committed Jan 11, 2024
1 parent 033666d commit e9c9d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/worker/transcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func prepare(out string) error {
// markForDeletion moves the file to $recfolder/.trash/
func markForDeletion(ctx *StreamContext) error {
trashName := ctx.getRecordingTrashName()
err := os.MkdirAll(filepath.Dir(trashName), 0 750)
err := os.MkdirAll(filepath.Dir(trashName), 0750)
if err != nil {
return fmt.Errorf("create trash directory: %s", err)
}
Expand Down

0 comments on commit e9c9d33

Please sign in to comment.