summaryrefslogtreecommitdiffstats
path: root/debianpkg
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2017-11-29 10:05:46 +0100
committerMartin Winter <mwinter@opensourcerouting.org>2017-12-05 09:30:30 +0100
commit81f810f0f6ad2df4ce4860ba313b59e484e315df (patch)
tree96972bad2c124c31914f6a2e29f4022420a13d9e /debianpkg
parentlib: Fix gcc 7 warning 'error: ‘fld’ may be used uninitialized in this fu... (diff)
downloadfrr-81f810f0f6ad2df4ce4860ba313b59e484e315df.tar.xz
frr-81f810f0f6ad2df4ce4860ba313b59e484e315df.zip
debianpkg: Fix lintian warning "command-with-path-in-maintainer-script"
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Diffstat (limited to 'debianpkg')
-rw-r--r--debianpkg/frr.preinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debianpkg/frr.preinst b/debianpkg/frr.preinst
index 29162e3b5..467bea971 100644
--- a/debianpkg/frr.preinst
+++ b/debianpkg/frr.preinst
@@ -30,7 +30,7 @@ fi
# frr and as such we need to intelligently
# check to see if the frr user is in the frrvty
# group.
-if ! /usr/bin/id frr | grep &>/dev/null 'frrvty'; then
+if ! id frr | grep &>/dev/null 'frrvty'; then
usermod -a -G frrvty frr >/dev/null
fi