hi
when i try to run bench update i get this error
hof@nextv13:~/frappe-bench$ bench update
Traceback (most recent call last):
File "/usr/local/bin/bench", line 11, in <module>
load_entry_point('bench', 'console_scripts', 'bench')()
File "/home/hof/.bench/bench/cli.py", line 41, in cli
bench_command()
File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/hof/.bench/bench/commands/update.py", line 25, in update
update(pull=pull, patch=patch, build=build, requirements=requirements, resta rt_supervisor=restart_supervisor, restart_systemd=restart_systemd, backup=not no _backup, force=force, reset=reset)
File "/home/hof/.bench/bench/utils.py", line 175, in update
validate_branch()
File "/home/hof/.bench/bench/app.py", line 451, in validate_branch
branch = get_current_branch(app)
File "/home/hof/.bench/bench/app.py", line 301, in get_current_branch
return get_cmd_output("basename $(git symbolic-ref -q HEAD)", cwd=repo_dir)
File "/home/hof/.bench/bench/utils.py", line 491, in get_cmd_output
output = subprocess.check_output(cmd, cwd=cwd, shell=True, stderr=subprocess .PIPE).strip()
File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'basename $(git symbolic-ref -q HEAD)' re turned non-zero exit status 1.