diff options
Diffstat (limited to 'src/commit2.c')
-rw-r--r-- | src/commit2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/commit2.c b/src/commit2.c index 04aa79a..5cfecc8 100644 --- a/src/commit2.c +++ b/src/commit2.c @@ -44,8 +44,6 @@ static const char* ActionNames[top_act] = { "end" //7 }; -#define LOCK_FILE "/opt/vyatta/config/.lock" - GNode* get_transactions(GNode*, boolean priority); @@ -203,7 +201,7 @@ main(int argc, char** argv) commit_comment = strdup(optarg); break; case 'l': - unlink(LOCK_FILE); + release_config_lock(); break; default: usage(); |