зеркало из https://github.com/mozilla/pjs.git
Catch possible exception from setting permissions. (Testcase only, not part of the build)
This commit is contained in:
Родитель
d339c650c4
Коммит
91c4886691
|
@ -94,7 +94,11 @@ var cmdFileController =
|
|||
out.close();
|
||||
delete out;
|
||||
delete trans;
|
||||
fp.file.permissions = 420;
|
||||
try {
|
||||
fp.file.permissions = 420;
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'cmd_fl_import':
|
||||
|
|
Загрузка…
Ссылка в новой задаче