Skip to content

Commit 62459f9

Browse files
committed
refactor: Remove unused code in DatabaseBackupStatusJob and PopulateSshKeysDirectorySeeder
1 parent eb80a7e commit 62459f9

File tree

2 files changed

+2
-64
lines changed

2 files changed

+2
-64
lines changed

app/Jobs/DatabaseBackupStatusJob.php

Lines changed: 0 additions & 62 deletions
This file was deleted.

database/seeders/PopulateSshKeysDirectorySeeder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ public function run()
2929
Process::run("chown -R $user ".storage_path('app/ssh/keys'));
3030
Process::run("chown -R $user ".storage_path('app/ssh/mux'));
3131
} else {
32-
Process::run('chown -R 9999:9999 '.storage_path('app/ssh/keys'));
33-
Process::run('chown -R 9999:9999 '.storage_path('app/ssh/mux'));
32+
Process::run('chown -R 9999:root '.storage_path('app/ssh/keys'));
33+
Process::run('chown -R 9999:root '.storage_path('app/ssh/mux'));
3434
}
3535
} catch (\Throwable $e) {
3636
echo "Error: {$e->getMessage()}\n";

0 commit comments

Comments
 (0)