1 --- amanda-3.2.3/application-src/amstar.c.orig 2012-05-09 14:36:45.583768213 +0200
2 +++ amanda-3.2.3/application-src/amstar.c 2012-05-10 14:41:43.738866665 +0200
7 - if (argument->dle.device) {
8 + if (star_directory) {
9 + check_dir(star_directory, R_OK);
10 + } else if (argument->dle.device) {
11 check_dir(argument->dle.device, R_OK);
15 fprintf(stderr, "ERROR include-list not supported for backup\n");
18 - if (check_device(argument) == 0) {
21 + if (star_directory) {
22 + check_dir(star_directory, R_OK|X_OK);
23 + } else if (argument->dle.device) {
24 + check_dir(argument->dle.device, R_OK|X_OK);
28 qdisk = quote_string(argument->dle.disk);
29 if (argument->calcsize) {