|
Lines 389-395
Link Here
|
| 389 |
|
389 |
|
| 390 |
case PLIST_FILE: |
390 |
case PLIST_FILE: |
| 391 |
last_file = p->name; |
391 |
last_file = p->name; |
| 392 |
sprintf(tmp, "%s/%s", Where, p->name); |
392 |
if (*p->name == '/') |
|
|
393 |
strcpy(tmp, p->name); |
| 394 |
else |
| 395 |
sprintf(tmp, "%s/%s", Where, p->name); |
| 393 |
if (isdir(tmp) && fexists(tmp)) { |
396 |
if (isdir(tmp) && fexists(tmp)) { |
| 394 |
warnx("cannot delete specified file `%s' - it is a directory!\n" |
397 |
warnx("cannot delete specified file `%s' - it is a directory!\n" |
| 395 |
"this packing list is incorrect - ignoring delete request", tmp); |
398 |
"this packing list is incorrect - ignoring delete request", tmp); |