Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 136589 - Error in startkde script when calling `which fs`
Error in startkde script when calling `which fs`
Product: Fedora
Classification: Fedora
Component: kdebase (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2004-10-20 21:28 EDT by Jonathan Wakely
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-21 06:35:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Prevent error when `which fs` returns nothing (430 bytes, patch)
2004-10-20 21:29 EDT, Jonathan Wakely
no flags Details | Diff

  None (edit)
Description Jonathan Wakely 2004-10-20 21:28:08 EDT
Description of problem:

Error in startkde script

Version-Release number of selected component (if applicable):


How reproducible:

Run "startx"

Steps to Reproduce:
1. startx
2. look at messages on console
Actual results:

stderr shows:
which: no fs in
/usr/bin/startkde: line 16: [: argument expected

Expected results:

No error.

Additional info:

Line 16 of startkde should not call `which fs` when no AFS.
Improvement is to surround `which fs` in double-quotes to
prevent error from '[' command when `which fs` returns nothing.
Comment 1 Jonathan Wakely 2004-10-20 21:30:00 EDT
Created attachment 105569 [details]
Prevent error when `which fs` returns nothing
Comment 2 Ngo Than 2004-10-21 06:35:25 EDT
it's fixed in kde-3.3.1 long ago. you find kde-3.3.1 for FC2 on
Comment 3 Jonathan Wakely 2004-10-22 20:55:45 EDT
Apologies, I couldn't find mention of it in this bugzilla.
ftp.kde.org has no x86_64 rpms, but I can wait.

Note You need to log in before you can comment on or make changes to this bug.