diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2010-06-03 13:50:26 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2010-06-03 13:50:26 +0000 |
commit | b5c2529bf8eccefea0dda896775ed7ef9def82b2 (patch) | |
tree | c9f2f4c9bb4f957b7479764ee69c62865e997ded /daemons/clvmd/clvmd-command.c | |
parent | 31943693c7947a9a8971b48176ac7fc222d4dacc (diff) | |
download | lvm2-b5c2529bf8eccefea0dda896775ed7ef9def82b2.tar.gz lvm2-b5c2529bf8eccefea0dda896775ed7ef9def82b2.tar.xz lvm2-b5c2529bf8eccefea0dda896775ed7ef9def82b2.zip |
Use absolute paths in commands
clvmd restart does not work at all if clvmd binary is not in current
dir.
Diffstat (limited to 'daemons/clvmd/clvmd-command.c')
-rw-r--r-- | daemons/clvmd/clvmd-command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/clvmd/clvmd-command.c b/daemons/clvmd/clvmd-command.c index 5e3b8c12..180f8091 100644 --- a/daemons/clvmd/clvmd-command.c +++ b/daemons/clvmd/clvmd-command.c @@ -400,7 +400,7 @@ static int restart_clvmd(void) /* Exec new clvmd */ /* NOTE: This will fail when downgrading! */ - execve("clvmd", argv, NULL); + execve(CLVMD_PATH, argv, NULL); /* We failed */ return 0; |