changeset 700:31953a5653e9

fjail: Remove unneeded variable "operations"
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 01 Oct 2024 20:06:27 +0200
parents 4243b087fc2d
children 18fe9674a0e5
files sbin/fjail
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sbin/fjail	Tue Oct 01 20:05:36 2024 +0200
+++ b/sbin/fjail	Tue Oct 01 20:06:27 2024 +0200
@@ -602,7 +602,7 @@
 #: Implement the "freebsd-update" command
 #:
 command_freebsd_update() {
-    local directory operations
+    local directory   # + operations ...
 
     local opt_currently_running
 
@@ -626,7 +626,6 @@
     [ -d "${directory}" ] || { echo "ERROR: directory \`${directory}' does not exist" 1>&2; return 1; }
 
     shift
-    operations="$*"
 
     if _has_same_userland_version "${directory}" "${opt_currently_running}" ; then
         if [ -n "${opt_currently_running}" ]; then