diff options
author | Michael Larson <mike@vyatta.com> | 2011-01-06 16:52:01 -0800 |
---|---|---|
committer | Michael Larson <mike@vyatta.com> | 2011-01-06 16:52:01 -0800 |
commit | 3246881725b219e532464a0191d074e9f02cba23 (patch) | |
tree | 13b9737a1b3f4842a20110b25cd9087bc47f7d89 /src/cli_new.c | |
parent | 2e1ce21a485f6b72ca391ded96523b87fd0df1d5 (diff) | |
download | vyatta-cfg-3246881725b219e532464a0191d074e9f02cba23.tar.gz vyatta-cfg-3246881725b219e532464a0191d074e9f02cba23.zip |
use the old interface rather than call unlink directly.
Diffstat (limited to 'src/cli_new.c')
-rw-r--r-- | src/cli_new.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli_new.c b/src/cli_new.c index 2db7996..f746b7f 100644 --- a/src/cli_new.c +++ b/src/cli_new.c @@ -330,7 +330,7 @@ void di(vtw_sorted *srtp) #define LOCK_FILE "/opt/vyatta/config/.lock" #define COMMIT_CMD "/opt/vyatta/sbin/my_commit" -static void +void release_config_lock() { unlink(LOCK_FILE); |