change owner on one unix family

This commit is contained in:
jb-alvarado 2024-08-22 11:42:38 +02:00
parent 629f23cf42
commit cf6a3feb44

View File

@ -369,6 +369,7 @@ pub async fn run_args(pool: &Pool<Sqlite>) -> Result<(), i32> {
handles::update_channel(pool, 1, channel).await.unwrap();
#[cfg(target_family = "unix")]
if fix_permission {
let db_path = Path::new(db_path().unwrap()).with_extension("");
let user = process_user.unwrap();