Project

General

Profile

Bug #1066

Remove old dynamic caches

Added by Perry Mason over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Dynamic DNS
Target version:
Start date:
12/02/2010
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

php: /services_dyndns_edit.php: The command '/bin/rm /conf/dyndns_opt2opendns'Fullrate'.cache' returned exit code '1', the output was 'rm: /conf/dyndns_opt2opendnsFullrate.cache: No such file or directory'

From console I tried.

[2.0-BETA4][root@pfsense.localdomain]/root(1): /bin/rm /conf/dyndns_opt2opendns'Fullrate'.cache
rm: /conf/dyndns_opt2opendnsFullrate.cache: No such file or directory
[2.0-BETA4][root@pfsense.localdomain]/root(2): /bin/rm /conf/dyndns_opt2opendns\'Fullrate\'.cache

So apostrophe should be removed from cache file names.

Associated revisions

Revision b8e2fd16 (diff)
Added by Jim Pingle over 8 years ago

Use unlink here instead of an exec to rm. Remove escapeshellarg call as it isn't needed now. Fixes #1066

History

#1 Updated by Perry Mason over 8 years ago

should have looked like this :)

[2.0-BETA4][root@pfsense.localdomain]/root(1): /bin/rm /conf/dyndns_opt2opendns'Fullrate'.cache
rm: /conf/dyndns_opt2opendnsFullrate.cache: No such file or directory
[2.0-BETA4][root@pfsense.localdomain]/root(2): /bin/rm /conf/dyndns_opt2opendns\'Fullrate\'.cache
[2.0-BETA4][root@pfsense.localdomain]/root(3): 

#2 Updated by Jim Pingle over 8 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#3 Updated by Perry Mason over 8 years ago

Error gone and cache file left behind in /conf/

#4 Updated by Chris Buechler over 8 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF