]> git.proxmox.com Git - mirror_frr.git/commitdiff
debianpkg: Fix lintian warning "command-with-path-in-maintainer-script"
authorMartin Winter <mwinter@opensourcerouting.org>
Wed, 29 Nov 2017 09:05:46 +0000 (01:05 -0800)
committerMartin Winter <mwinter@opensourcerouting.org>
Tue, 5 Dec 2017 08:33:40 +0000 (00:33 -0800)
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
debianpkg/frr.preinst

index 29162e3b56a92bab011cf527d0ed0d29a35280b7..467bea971834adf8f4205e2e3f7817de3d5a1626 100644 (file)
@@ -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