diff options
author | Lee Duncan <lduncan@suse.com> | 2019-05-14 08:50:14 -0700 |
---|---|---|
committer | Lee Duncan <lduncan@suse.com> | 2019-05-14 08:50:14 -0700 |
commit | 0f30033765cfd3769a1b65a6b84ee982eb1052f8 (patch) | |
tree | 285b147b8ec083de329af471fc1012dffecd0462 /libopeniscsiusr | |
parent | 0cf0a05ae0ff67d9b68a69b68df89f42258c3c53 (diff) | |
download | open-iscsi-0f30033765cfd3769a1b65a6b84ee982eb1052f8.tar.gz |
Stop using /var directory for PIDfile and locks
Convert /var/run to /run, and convert /var/lock to /run/lock,
as per modern requirements on use of the /var directory.
Diffstat (limited to 'libopeniscsiusr')
-rw-r--r-- | libopeniscsiusr/idbm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopeniscsiusr/idbm.c b/libopeniscsiusr/idbm.c index 677139e..d020e6c 100644 --- a/libopeniscsiusr/idbm.c +++ b/libopeniscsiusr/idbm.c @@ -93,7 +93,7 @@ #define ISCSI_END_REC "# END RECORD" #ifndef LOCK_DIR -#define LOCK_DIR "/var/lock/iscsi" +#define LOCK_DIR "/run/lock/iscsi" #endif #define LOCK_FILE LOCK_DIR"/lock" #define LOCK_WRITE_FILE LOCK_DIR"/lock.write" |