File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -321,23 +321,23 @@ sub get_cmdfile
321
321
}
322
322
323
323
if (length ($cmdfile ) == 0 or ! -e $cmdfile ) {
324
- $self -> error(" command file '$cmdfile ' is missing\n " .
325
- " run 'ncm-ncd -configure spma' to create it" );
324
+ $self -> error(" command file '$cmdfile ' is missing, " .
325
+ " run 'ncm-ncd -configure spma' to create it" );
326
326
$self -> finish(-1);
327
327
}
328
328
329
329
#
330
330
# Security checks
331
331
#
332
332
if (! -o $cmdfile ) {
333
- $self -> error(" command file '$cmdfile ' has wrong owner\n " .
334
- " must be owned by root user" );
333
+ $self -> error(" command file '$cmdfile ' has wrong owner, " .
334
+ " must be owned by root user" );
335
335
$self -> finish(-1);
336
336
}
337
337
my $mode = (stat ($cmdfile ))[2];
338
338
if (($mode & S_IWGRP) or ($mode & S_IWOTH)) {
339
- $self -> error(" command file '$cmdfile ' too permissive\n " .
340
- " should be writable by root only" );
339
+ $self -> error(" command file '$cmdfile ' too permissive, " .
340
+ " should be writable by root only" );
341
341
$self -> finish(-1);
342
342
}
343
343
You can’t perform that action at this time.
0 commit comments