diff options
-rw-r--r-- | debian/changelog | 16 | ||||
-rw-r--r-- | src/common/unionfs.c | 8 |
2 files changed, 17 insertions, 7 deletions
diff --git a/debian/changelog b/debian/changelog index 186f488..eabcbb7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,19 @@ +vyatta-cfg (0.14.41) unstable; urgency=low + + [ slioch ] + * added action and location of error to syslog on commit. error + message string will need to be added later after some reworking of + the old node + + [ Stephen Hemminger ] + * Block shutdown in configure mode + + [ slioch ] + * buggy file exist test--thanx stig for test case to repro. fixes + vpn_smoke regression failure. + + -- slioch <slioch@eng-140.vyatta.com> Tue, 10 Mar 2009 21:31:05 -0700 + vyatta-cfg (0.14.40) unstable; urgency=low [ Stig Thormodsrud ] diff --git a/src/common/unionfs.c b/src/common/unionfs.c index 4e62b01..7c29ad1 100644 --- a/src/common/unionfs.c +++ b/src/common/unionfs.c @@ -242,7 +242,7 @@ retrieve_data(char* rel_data_path, GNode *node, char* root, NODE_OPERATION op) char buf[MAX_LENGTH_HELP_STR]; sprintf(buf,"%s/%s",get_adirp(),rel_data_path); struct stat s; - if ((lstat(buf,&s) != 0) && S_ISREG(s.st_mode)) { + if (lstat(buf,&s) != 0) { struct VyattaNode* vn = (struct VyattaNode*)node->data; vn->_data._operation = K_CREATE_OP; } @@ -559,12 +559,6 @@ common_commit_copy_to_live_config(GNode *node, boolean test_mode) sprintf(abuf_root,"%s",get_adirp()); //only operate on path if it exists - struct stat s; - if ((lstat(mbuf,&s) != 0) && S_ISREG(s.st_mode)) { - printf("common_commit_copy_to_live_config(): failed to find: %s, aborting copy\n",mbuf); - return; - } - //have to clean out tbuf before copying sprintf(command, formatpoint5, tbuf); if (g_debug) { |